Repository navigation
I made these functions that integrate into the dirstack in zsh to make a harpoon like functionality #1244
ansatzer
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I wanted to be able to maintain memory of the directories I am currently working on, and not let it be shattered by rogue directory changes.
pushd and popd work but they dont allow for jumps like zoxide does, especially the interactivity.
One can use this to first query for directories wherever in their zoxide list and put them in memory. Then
cdf <pos>can get them to that directory in the dirstack by rotating the stack so it is at the top.Feel free to suggest any improvements here, or if this can be done otherwise. I did see #710 (comment), but it didn't seem to align with my vision for this.
All reactions