summaryrefslogtreecommitdiff
path: root/plugins/pipenv
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2020-08-16 14:53:06 -0600
committerTuowen Zhao <ztuowen@gmail.com>2020-08-16 14:53:06 -0600
commitf672613e98ba6b30728517b22c0e378557d7fb81 (patch)
tree40f71cbf5809d181129f812e6466eac0b7cb2509 /plugins/pipenv
parent1edd2c43b12f9f2c2ef04cfa0428db0f7fc0aa7c (diff)
parent079e7bb5e0a79171f3356d55d3f6302a82645a39 (diff)
downloadzsh-f672613e98ba6b30728517b22c0e378557d7fb81.tar.gz
zsh-f672613e98ba6b30728517b22c0e378557d7fb81.tar.bz2
zsh-f672613e98ba6b30728517b22c0e378557d7fb81.zip
Merge remote-tracking branch 'origin/master' into master
Diffstat (limited to 'plugins/pipenv')
-rw-r--r--plugins/pipenv/pipenv.plugin.zsh3
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"