Re:Zoxide: A Better CD Command
by robenkleene on Tuesday September 23, 2025 @06:10PM
(#45353422)
To me, the interesting conversation here is between these three workflows:
1. Recursive directory fuzzy-search
2. Searching history for `cd` commands
3. Zoxide-style matching visited directories
Which are all ways to make it easier to traverse directories.
For my part, the thrust of your argument seemed to be advocating for #1, so that's what I was responding to (since this is a thread on #3, I'm mainly focusing on why you'd use that instead of #1 or #2, but all three are workable).
All of these can be implemented in any of the common shells. I didn't see anyone making a case for a specific shell here, I think the mentions of a specific shell are incidental (e.g., what people happen to use).
Indeed - it's not even an either/or. I have both 1 and 3 as keybindings.
He never said he changed shells - just that he uses zsh history. He was likely using zsh anyway.
Re:Zoxide: A Better CD Command
by jvanderbot on Tuesday September 23, 2025 @05:57PM
(#45353292)
My logic (take it or leave it) is that since zsh is not the default distro nearly anywhere (Kali?), a randomly selected person who might read that advice (and subsequent advice ITT), would likely find "Use ZSH" includes a shell change and therefore more learning curve than "add a few lines to .bashrc".
This is getting off topic, pedantic, and (maybe?) argumentative so I'm calling it quits. Cheers.
And I that brought up bash examples to show how it might be done? We've gone around in circles lads back on the bus.