diff --git a/rainbow-alias.plugin.zsh b/rainbow-alias.plugin.zsh index 98a98e2..3b18b50 100644 --- a/rainbow-alias.plugin.zsh +++ b/rainbow-alias.plugin.zsh @@ -34,4 +34,15 @@ else if (( $+commands[neofetch] && $+commands[lolcat] )); then neofetch | lolcat fi -fi \ No newline at end of file +fi + +# Set Proxy +function setproxy() { + export {http,https,ftp}_proxy="http://vm-ubuntu-docker:8888" + export no_proxy=’localhost,127.0.0.1,192.168.16.0/24’ +} + +# Unset Proxy +function unsetproxy() { + unset {http,https,ftp}_proxy +}