Browse Source

Alias py to python

master
Sorin Ionescu 12 years ago
parent
commit
627d653360
  1. 5
      modules/python/README.md
  2. 5
      modules/python/init.zsh

5
modules/python/README.md

@ -31,6 +31,11 @@ convenient shell functions to create, switch, and manage them. @@ -31,6 +31,11 @@ convenient shell functions to create, switch, and manage them.
Install virtualenvwrapper and set [`$WORKON_HOME`][4] to the path where virtual
environments will be stored.
Aliases
-------
- `py` is short for `python`.
Authors
-------

5
modules/python/init.zsh

@ -27,3 +27,8 @@ if [[ -n "$WORKON_HOME" ]] && (( $+commands[virtualenvwrapper.sh] )); then @@ -27,3 +27,8 @@ if [[ -n "$WORKON_HOME" ]] && (( $+commands[virtualenvwrapper.sh] )); then
source "$commands[virtualenvwrapper.sh]"
fi
#
# Aliases
#
alias py='python'

Loading…
Cancel
Save