Commits

bakotaco committed 97d5cd7

when there are no environments virtualenvwrapper_show_workon_options should still return a successful exit code

Comments (0)

Files changed (1)

virtualenvwrapper.sh

     (\cd "$WORKON_HOME"; for f in */$VIRTUALENVWRAPPER_ENV_BIN_DIR/activate; do echo $f; done) 2>/dev/null | \sed 's|^\./||' | \sed "s|/$VIRTUALENVWRAPPER_ENV_BIN_DIR/activate||" | \sort | (unset GREP_OPTIONS; \egrep -v '^\*$')
 
 #    (\cd "$WORKON_HOME"; find -L . -depth 3 -path '*/bin/activate') | sed 's|^\./||' | sed 's|/bin/activate||' | sort
+    return 0
 }
 
 function _lsvirtualenv_usage {