Commits

Brodie Rao committed ec2f4ed

zsh: fix reference to virtualenvwrapper when it isn't present

  • Participants
  • Parent commits 463d0d3

Comments (0)

Files changed (1)

 [[ -n "${key[Control-Right]}" ]] && bindkey "${key[Control-Right]}" \
                                             forward-word
 
-source virtualenvwrapper_lazy.sh
+if (( $+commands[virtualenvwrapper_lazy.sh] ))
+then
+    source virtualenvwrapper_lazy.sh
+fi