From 23a5d64eda2e0f4418b5278ce0cc6c6116c7d9f6 Mon Sep 17 00:00:00 2001 From: Sebastian Wiesner Date: Fri, 13 Apr 2012 15:39:04 +0200 Subject: [PATCH] Source virtualenvwrapper.sh from commands array --- modules/python/init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/python/init.zsh b/modules/python/init.zsh index fc3da6f9..0e465d6e 100644 --- a/modules/python/init.zsh +++ b/modules/python/init.zsh @@ -22,5 +22,5 @@ fi # source virtualenvwrapper if available if [[ -n "$WORKON_HOME" ]] && (( $+commands[virtualenvwrapper.sh] )); then - source virtualenvwrapper.sh + source "$commands[virtualenvwrapper.sh]" fi