|
|
@ -6,8 +6,13 @@ |
|
|
|
# Sebastian Wiesner <lunaryorn@googlemail.com> |
|
|
|
# Sebastian Wiesner <lunaryorn@googlemail.com> |
|
|
|
# |
|
|
|
# |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Load pythonz into the shell session. |
|
|
|
|
|
|
|
if [[ -s $HOME/.pythonz/bin/pythonz ]]; then |
|
|
|
|
|
|
|
path=($HOME/.pythonz/bin $path) |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# Return if requirements are not found. |
|
|
|
# Return if requirements are not found. |
|
|
|
if (( ! $+commands[python] )); then |
|
|
|
if (( ! $+commands[python] && ! $+commands[pythonz] )); then |
|
|
|
return 1 |
|
|
|
return 1 |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
@ -33,11 +38,6 @@ if (( $+commands[virtualenvwrapper_lazy.sh] )); then |
|
|
|
source "$commands[virtualenvwrapper_lazy.sh]" |
|
|
|
source "$commands[virtualenvwrapper_lazy.sh]" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# Load pythonz into the shell session. |
|
|
|
|
|
|
|
if [[ -s $HOME/.pythonz/bin/pythonz ]]; then |
|
|
|
|
|
|
|
path=($HOME/.pythonz/bin $path) |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# |
|
|
|
# |
|
|
|
# Aliases |
|
|
|
# Aliases |
|
|
|
# |
|
|
|
# |
|
|
|