Permalink
Browse files

add alias to simply activate a virtual env located in 'venv'

  • Loading branch information...
1 parent 7bd0296 commit 235f5004264089c34b47430b6b6707bb4fc5b396 @eht16 committed Jun 1, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 user/.zsh/alias
View
@@ -52,3 +52,6 @@ alias tty='stty -tostop'
# du - sorted AND human readable (as found on http://www.earthinfo.org/linux-disk-usage-sorted-by-size-and-human-readable/)
alias duf='du -sk * | sort -n | perl -ne '\''($s,$f)=split(m{\t});for (qw(K M G)) {if($s<1024) {printf("%.1f",$s);print "$_\t$f"; last};$s=$s/1024}'\'
+
+# virtualenv activate
+alias vac="source venv/bin/activate"

0 comments on commit 235f500

Please sign in to comment.