.bashrc の最後に、
export http_proxy=https://your_proxy.com:8080/
と、http_proxy の環境変数を追加するだけ!
このあと、
# . .bashrc
とすると、ログアウトせずに環境変数が有効になります。