most shells have a CDPATH which works just like PATH but for directories. set it to $HOME/projects/:$HOME/porn/ or whatever, and you’ll get the subdirectories in your cd tab completion, without installing extra stuff
I’ve just replaced cd with it. It’s so fucking convenient writing cd n and immediately entering my config, then writing cd f and entering some other project of mine.
I love zoxide. Makes traversing the filesystem so much faster!
most shells have a CDPATH which works just like PATH but for directories. set it to
$HOME/projects/:$HOME/porn/or whatever, and you’ll get the subdirectories in yourcdtab completion, without installing extra stuffBut zoxide updates automatically, where you have to update CDPATH manually.
I’ve just replaced cd with it. It’s so fucking convenient writing
cd nand immediately entering my config, then writingcd fand entering some other project of mine.Me too! Only learned about it a while ago too. I hate logging into machines that don’t have it.