Shell Directory Navigation Tools
Discussions center on shell tools like zoxide, z, and autojump for fuzzy directory jumping based on usage history, along with bash/zsh features like pushd/popd, cd -, and CDPATH for efficient navigation.
Activity Over Time
Top Contributors
Keywords
Sample Comments
+1 for zoxide. I can be in my home directory and cd into a directory 3 subdirectories away.
The most important tool I found for switching directories is called "z". You just partially type a previously visited directory's name and it takes you there. It also keeps track of your history to rank candidates for popularity. https://github.com/rupa/z/ It's basically CDPATH on stereoids and doesn't require preconfiguration like CDPATH.
Not quite the same but you should check out autojump if you haven’t before: https://github.com/wting/autojump
It's a shell command that allows you to `cd` to places without having to type the whole path. Some implementations are https://github.com/wting/autojump and https://github.com/rupa/z.A very simplified example: if you call `j pro`, the command should take you to the folder that best matches the
You can get part way to this sort of experience in standard bash/sh by setting up a thoughtful 'CDPATH' and also making use of 'cd -'. In fact I have the latter aliased as z because it's like Undo.
I use zoxide: https://github.com/ajeetdsouza/zoxideThere're only few directories I need to change to daily. So when I have to visit them, I need to type only `z first_two_characters_of_the_directory_name`
I also recommend autojump, it make cd directories easier
Just use auto jumphttps://github.com/joelthelion/autojump
Aliases to cd into directories? You need to check out autojump style tools! Will change your life.e.g. https://github.com/rupa/zI very, very rarely type cd by hand anymore, mostly just use z and popd
May I suggest [autojump](https://github.com/joelthelion/autojump/wiki)?