-
Notifications
You must be signed in to change notification settings - Fork 613
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature requrest: feed pushd stack with zi --special-flag #1029
Comments
There's a similar feature right now where What you're proposing would be a proper stack. We would actually need two flag-states, one where the stack is pushed to, and one where the stack is popped from. I'm guessing that your proposed |
I'm not currently aware of the implementation details of pushd and popd. I'm not even sure if it's possible to access the dirstack as a shell external tool. But my use I have something like this to rotate through the dirstack:
But adding to the dirstack I do manually with an explicit
|
It would be nice if I could invoke the
zi
command in a way that automatically also stores the current dir in thedir
stack. I have my pushd mapped to keybindings so I can quickly rotate through the directories. Adding this flag would enable me to do so also with zoxide.I propose
zi --dirstack
or something like this.The text was updated successfully, but these errors were encountered: