From 4ab273e19ad1768163e662831b3418a2fc9b6eee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Sat, 1 Aug 2020 15:26:02 +0200 Subject: [PATCH] pipenv: toggle pipenv shell on startup Fixes #9136 --- plugins/pipenv/pipenv.plugin.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"