Setup Proxy alias for Terminal on Ubuntu

nano ~/.bashrc
add the alias below:

alias proxy="
 export http_proxy=http://127.0.0.1:12333;
 export https_proxy=http://127.0.0.1:12333;"

alias unproxy="
 unset http_proxy;
 unset https_proxy;"

save and go.