From 3cbec5c3642b92f90700ea8b1e9533c1b2d701a8 Mon Sep 17 00:00:00 2001 From: wuqi Date: Fri, 13 Oct 2023 16:30:28 +0800 Subject: [PATCH] update --- .rc.func.sh | 4 ++-- .rc.sh | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.rc.func.sh b/.rc.func.sh index 8808483..b6eb629 100644 --- a/.rc.func.sh +++ b/.rc.func.sh @@ -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" } diff --git a/.rc.sh b/.rc.sh index 62b6b62..4377518 100644 --- a/.rc.sh +++ b/.rc.sh @@ -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'