From 7bb0c3588a2650b54152a497b40ab56b696796c5 Mon Sep 17 00:00:00 2001 From: hophacker Date: Fri, 28 Feb 2020 16:26:05 +0800 Subject: [PATCH] add set_vagrant_proxy --- zsh/functions.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh/functions.zsh b/zsh/functions.zsh index 67058ff..c003534 100644 --- a/zsh/functions.zsh +++ b/zsh/functions.zsh @@ -42,6 +42,9 @@ function cp_container() { function set_proxy() { export http_proxy=http://127.0.0.1:8119;export https_proxy=http://127.0.0.1:8119; } +function set_vagrant_proxy() { + export http_proxy=http://127.0.0.1:9119;export https_proxy=http://127.0.0.1:9119; +} function set_ss_proxy() { export https_proxy=socks5://127.0.0.1:1080/ export http_proxy=socks5://127.0.0.1:1080/