From 21c9cf71503667d77d7863f93195de7800dcbcb6 Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Tue, 20 Dec 2022 17:25:15 +0800 Subject: [PATCH] Add ipinfo-cli --- Brewfile | 1 + zsh/alias.zsh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Brewfile b/Brewfile index 1642138..e4136fe 100644 --- a/Brewfile +++ b/Brewfile @@ -31,6 +31,7 @@ brew "wget" brew "rsync" # tools +brew "ipinfo-cli" brew "youtube-dl" brew "ffmpeg" brew "imagemagick" diff --git a/zsh/alias.zsh b/zsh/alias.zsh index 74c66bf..c660319 100644 --- a/zsh/alias.zsh +++ b/zsh/alias.zsh @@ -21,8 +21,8 @@ alias mvn-purge="mvn dependency:purge-local-repository" # https://stackoverflow.com/a/15503178/1820217 alias gitlog="git ls-files -z | xargs -0n1 git blame -w --show-email | perl -n -e '/^.*?\((.*?)\s+[\d]{4}/; print $1,"\n"' | sort -f | uniq -c | sort -n" -alias proxy='export all_proxy=socks5://127.0.0.1:1080' -alias unproxy='unset all_proxy' +alias proxy='export http_proxy=http://127.0.0.1:1080 https_proxy=http://127.0.0.1:1080 all_proxy=socks5://127.0.0.1:1080' +alias unproxy='unset http_proxy;unset https_proxy;unset all_proxy' alias proxy_http='export all_proxy=http://127.0.0.1:1081' # assh