You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the "pipenv" plugin is enabled, we need to "cd .." twice instead of once to move back to the parent folder.
Under the hood, the auto-activation feature of the pipenv plugin (which I could no longer work without) spawns a subshell on entry and exits it on leave. Therefore the first "cd .." is actually an exit to the parent shell which is still in the previously newly entered folder.
When the "pipenv" plugin is enabled, we need to "cd .." twice instead of once to move back to the parent folder.
Under the hood, the auto-activation feature of the pipenv plugin (which I could no longer work without) spawns a subshell on entry and exits it on leave. Therefore the first "cd .." is actually an exit to the parent shell which is still in the previously newly entered folder.
ohmyzsh/plugins/pipenv/pipenv.plugin.zsh
Lines 15 to 38 in 80c114c
Actually, this has some more drawbacks:
and possibly others. Of course, non of them are deal breakers, rather simple day-to-day paper cuts / intuitive behaviors.
Workaround:
If this is acceptable to you, I'd gladly open a PR with the modified code 🙂
The text was updated successfully, but these errors were encountered: