From e1346a0f25a1294eadb324c03de622037a2712bd Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Mon, 7 Dec 2015 12:02:52 +0100 Subject: [PATCH] [zsh]senv alias --- .zsh/30_alias.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.zsh/30_alias.zsh b/.zsh/30_alias.zsh index 45f8b2b..b5d19dd 100644 --- a/.zsh/30_alias.zsh +++ b/.zsh/30_alias.zsh @@ -50,3 +50,5 @@ alias -g S='&> /dev/null &' # Add an "alert" alias for long running commands. Use like so: # sleep 10; alert alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' + +alias senv='source ~/venv/bin/activate'