How to set proxy in Bash and Zsh
To set proxy in bash and zsh, we need to code the bash script or zsh script.
We will edit the .bashrc or .zshrc dot file in your home path like:1
2
3/home/yourname/.bashrc
or
/home/yourname/.zshrc
Then, use neovim (maybe you can chose your favourite editor whatever :D ) to edit:1
$ nvim ~/.bashrc
or1
$ nvim ~/.zshrc