mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-06-05 05:03:16 +02:00
remove unnecessary warning from virtualenvwrapper.plugin.zsh
reason being: * if virtualenvwrapper.sh is being used, $WORKON_HOME will be immediately (to the default value), no need for this warning * if virtualenvwrapper_lazy.sh is being used, $WORKON_HOME will be set (to the default value) later, automatically * if none of the initialization scripts are available, for example if virtualenvwrapper was uninstalled, the installation command will be printed during zsh start
This commit is contained in:
parent
ebda8af870
commit
bb32bbfc09
2 changed files with 2 additions and 5 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -6,3 +6,5 @@ custom/
|
|||
# temp files directories
|
||||
cache/
|
||||
log/
|
||||
|
||||
.DS_Store
|
||||
|
|
|
|||
|
|
@ -39,11 +39,6 @@ if ! type workon &>/dev/null; then
|
|||
return
|
||||
fi
|
||||
|
||||
if [[ "$WORKON_HOME" == "" ]]; then
|
||||
print "[oh-my-zsh] \$WORKON_HOME is not defined so plugin virtualenvwrapper will not work" >&2
|
||||
return
|
||||
fi
|
||||
|
||||
if [[ ! $DISABLE_VENV_CD -eq 1 ]]; then
|
||||
# Automatically activate Git projects or other customized virtualenvwrapper projects based on the
|
||||
# directory name of the project. Virtual environment name can be overridden
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue