This commit is contained in:
wuqi 2023-10-13 16:30:28 +08:00
parent 1334d546b4
commit 3cbec5c364
2 changed files with 3 additions and 2 deletions

View File

@ -33,8 +33,8 @@ function get_proxy() {
function pon() {
proxy=`get_proxy`
export http_proxy=http://127.0.0.1:7890
export https_proxy=http://127.0.0.1:7890
export http_proxy=$proxy
export https_proxy=$proxy
echo "\033[32m开启代理:$proxy\033[0m"
}

1
.rc.sh
View File

@ -4,6 +4,7 @@ alias s=ssh
alias grep='grep --color'
alias sj='ssh -CqTnN -D :1080'
alias y='yadm'
alias yd='yadm diff'
alias yst='yadm status'
alias v='vim'
alias t='tmux'