-
Notifications
You must be signed in to change notification settings - Fork 146
Open
Labels
Description
If the feature request is for a plugin or theme, specify it here.
No response
If the feature solves a problem you have, specify it here.
I'm not sure if this should be a bug or a feature request, but I find it very frustrating when after turbo mode loading plugins, my OLDPWD env var is the final loaded plugin and cd - drops me into that folder.
Describe the proposed feature.
It would be super great if zinit would run a final builtin cd $HOME && builtin cd . so that OLDPWD gets reset and cd - doesn't drop me into whatever the last loaded plugin was.
Describe alternatives you've considered
I tried the following:
zinit wait'2c' as'null' lucid atload"cd $HOME" light-mode for zdharma-continuum/null but it resulted in:
@zinit-scheduler:2: maximum nested function level reached; increase FUNCNEST?
.zinit-run-task:4: bad set of key/value pairs for associative array
.zinit-run-task:4: bad set of key/value pairs for associative array
.zinit-run-task:4: bad set of key/value pairs for associative array
.zinit-run-task:4: bad set of key/value pairs for associative array
.zinit-run-task:4: bad set of key/value pairs for associative array
.zinit-run-task:4: bad set of key/value pairs for associative array
.zinit-run-task:4: bad set of key/value pairs for associative array
.zinit-run-task:4: bad set of key/value pairs for associative array
.zinit-run-task:4: bad set of key/value pairs for associative array
.zinit-run-task:4: bad set of key/value pairs for associative array
.zinit-run-task:4: bad set of key/value pairs for associative array
.zinit-run-task:4: bad set of key/value pairs for associative array
.zinit-run-task:4: bad set of key/value pairs for associative array
.zinit-run-task:4: bad set of key/value pairs for associative array
.zinit-run-task:4: bad set of key/value pairs for associative array
.zinit-run-task:4: bad set of key/value pairs for associative array
.zinit-run-task:4: bad set of key/value pairs for associative array
.zinit-run-task:4: bad set of key/value pairs for associative array
.zinit-run-task:4: bad set of key/value pairs for associative array
.zinit-run-task:4: bad set of key/value pairs for associative array
.zinit-run-task:4: bad set of key/value pairs for associative array
...
Additional context
zsh baffles me or this would be a PR
Related Issues
No response
Reactions are currently unavailable