diff options
author | Marc Cornellà <marc.cornella@live.com> | 2020-08-01 15:26:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-01 15:26:02 +0200 |
commit | 4ab273e19ad1768163e662831b3418a2fc9b6eee (patch) | |
tree | 4e76bb7500495d2d5663b06fff295944839c69b3 /plugins/pipenv | |
parent | 345cb99e5bbdd404e2da0d0e294623eccc130c27 (diff) | |
download | zsh-4ab273e19ad1768163e662831b3418a2fc9b6eee.tar.gz zsh-4ab273e19ad1768163e662831b3418a2fc9b6eee.tar.bz2 zsh-4ab273e19ad1768163e662831b3418a2fc9b6eee.zip |
pipenv: toggle pipenv shell on startup
Fixes #9136
Diffstat (limited to 'plugins/pipenv')
-rw-r--r-- | plugins/pipenv/pipenv.plugin.zsh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/pipenv/pipenv.plugin.zsh b/plugins/pipenv/pipenv.plugin.zsh index e7a9e6b3c..4be61a920 100644 --- a/plugins/pipenv/pipenv.plugin.zsh +++ b/plugins/pipenv/pipenv.plugin.zsh @@ -1,6 +1,6 @@ # Pipenv completion _pipenv() { - eval $(env COMMANDLINE="${words[1,$CURRENT]}" _PIPENV_COMPLETE=complete-zsh pipenv) + eval $(env COMMANDLINE="${words[1,$CURRENT]}" _PIPENV_COMPLETE=complete-zsh pipenv) } compdef _pipenv pipenv @@ -25,6 +25,7 @@ _togglePipenvShell() { } autoload -U add-zsh-hook add-zsh-hook chpwd _togglePipenvShell +_togglePipenvShell # Aliases alias pch="pipenv check" |