From 627d653360448bddfe1ee3130a6c476206c5badf Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Wed, 15 Aug 2012 08:00:08 -0400 Subject: [PATCH] Alias py to python --- modules/python/README.md | 5 +++++ modules/python/init.zsh | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/modules/python/README.md b/modules/python/README.md index 6a6bd0e..6681a58 100644 --- a/modules/python/README.md +++ b/modules/python/README.md @@ -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 ------- diff --git a/modules/python/init.zsh b/modules/python/init.zsh index 485f99d..a542a8f 100644 --- a/modules/python/init.zsh +++ b/modules/python/init.zsh @@ -27,3 +27,8 @@ if [[ -n "$WORKON_HOME" ]] && (( $+commands[virtualenvwrapper.sh] )); then source "$commands[virtualenvwrapper.sh]" fi +# +# Aliases +# + +alias py='python'