reset proxy for local container.

This commit is contained in:
2025-10-31 04:11:21 +08:00
parent 79f7a3c52e
commit 28df594cc6
2 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
# Proxy, set in environment.d?
http_proxy="http://192.168.1.128:26100/"
https_proxy="http://192.168.1.128:26100/"
http_proxy="http://127.0.0.1:7890/"
https_proxy="http://127.0.0.1:7890/"
# also needs manual configuration in firefox.
no_proxy="127.*,192.168.*,10.147.17.*"

2
.zshrc
View File

@@ -144,6 +144,8 @@ unset key
# https://unix.stackexchange.com/questions/608842/zshrc-export-gpg-tty-tty-says-not-a-tty
export GPG_TTY=$TTY
alias noproxy='env -u http_proxy -u https_proxy'
alias ykls='systemctl --user status YukiLauncher.slice'
alias yksuspend='systemctl --user freeze YukiLauncher.slice'
alias ykcout='systemctl --user thaw YukiLauncher.slice'