File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 2727 :ref: `VIRTUALENVWRAPPER_LOG_DIR
2828 <variable-VIRTUALENVWRAPPER_LOG_DIR>` variables to control the
2929 locations of hooks and logs.
30+ - Enabled tab completion for :ref: `command-showvirtualenv `
31+ (:bbissue: `78 `).
3032
31332.6.3
3234
Original file line number Diff line number Diff line change @@ -411,6 +411,7 @@ if [ -n "$BASH" ] ; then
411411 COMPREPLY=( $( compgen -W " ` virtualenvwrapper_show_workon_options` " -- ${cur} ) )
412412 }
413413
414+
414415 _cdvirtualenv_complete ()
415416 {
416417 local cur=" $2 "
@@ -427,8 +428,9 @@ if [ -n "$BASH" ] ; then
427428 complete -o default -o nospace -F _virtualenvs workon
428429 complete -o default -o nospace -F _virtualenvs rmvirtualenv
429430 complete -o default -o nospace -F _virtualenvs cpvirtualenv
431+ complete -o default -o nospace -F _virtualenvs showvirtualenv
430432elif [ -n " $ZSH_VERSION " ] ; then
431- compctl -g " ` virtualenvwrapper_show_workon_options` " workon rmvirtualenv cpvirtualenv
433+ compctl -g " ` virtualenvwrapper_show_workon_options` " workon rmvirtualenv cpvirtualenv showvirtualenv
432434fi
433435
434436# Prints the Python version string for the current interpreter.
You can’t perform that action at this time.
0 commit comments