adding a chromium helper for tor

This commit is contained in:
Rodolphe Breard 2015-02-21 16:14:22 +01:00
parent 77f8febe5b
commit 60b413bf83

7
.zshrc
View file

@ -66,3 +66,10 @@ alias df='df -h'
alias weechat='TERM=screen-256color weechat' alias weechat='TERM=screen-256color weechat'
alias lock='xscreensaver-command --lock' alias lock='xscreensaver-command --lock'
hash htop 2>/dev/null && alias top='TERM=screen-256color htop' hash htop 2>/dev/null && alias top='TERM=screen-256color htop'
if hash chromium 2>/dev/null; then
chromium-tor() {
killall chromium
chromium --incognito --proxy-server="socks://localhost:9050"
}
fi