From 60b413bf83c55cfe36398c58644933e93c965318 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Sat, 21 Feb 2015 16:14:22 +0100 Subject: [PATCH] adding a chromium helper for tor --- .zshrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.zshrc b/.zshrc index b62fbc1..8aceea7 100644 --- a/.zshrc +++ b/.zshrc @@ -66,3 +66,10 @@ alias df='df -h' alias weechat='TERM=screen-256color weechat' alias lock='xscreensaver-command --lock' 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