set_proxy changes

This commit is contained in:
Jie Feng 2017-04-12 10:42:53 +08:00
parent 97911522d5
commit 5248368fd0
2 changed files with 2 additions and 2 deletions

View File

@ -242,7 +242,7 @@ case "$OSTYPE" in
esac esac
alias ssh_by_password='ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no' alias ssh_by_password='ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no'
alias ssh_copy_id_by_password='ssh-copy-id -o PreferredAuthentications=password -o PubkeyAuthentication=no' alias ssh_copy_id_by_password='ssh-copy-id -o PreferredAuthentications=password -o PubkeyAuthentication=no'
alias sshfab="ssh -F ~/Projects/rallets-fabric/.ssh/config" alias sshfab="ssh -F .ssh/config"
alias chrome_proxy="google-chrome --proxy-server='http://127.0.0.1:8118'" alias chrome_proxy="google-chrome --proxy-server='http://127.0.0.1:8118'"
alias ls_folder_size="du -sch .[!.]* * |sort -h" alias ls_folder_size="du -sch .[!.]* * |sort -h"
alias top_by_memory="top -o %MEM" alias top_by_memory="top -o %MEM"

View File

@ -82,7 +82,7 @@ function test_proxy() {
curl www.google.com curl www.google.com
} }
function set_proxy() { function set_proxy() {
export all_proxy=http://127.0.0.1:8118/ export all_proxy=http://127.0.0.1:8123/
# export https_proxy=socks5://127.0.0.1:1080/ # export https_proxy=socks5://127.0.0.1:1080/
# export http_proxy=socks5://127.0.0.1:1080/ # export http_proxy=socks5://127.0.0.1:1080/
} }