Skip to content

Commit

Permalink
add alias to simply activate a virtual env located in 'venv'
Browse files Browse the repository at this point in the history
  • Loading branch information
eht16 committed Jun 1, 2012
1 parent 7bd0296 commit 235f500
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions user/.zsh/alias
Expand Up @@ -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.