Sunshine (she/her)@lemmy.ca to Linux@programming.devEnglish · 1 year agoReplace Your Regular Linux Commands With These Better Alternativeswww.maketecheasier.comexternal-linkmessage-square44linkfedilinkarrow-up1133arrow-down111
arrow-up1122arrow-down1external-linkReplace Your Regular Linux Commands With These Better Alternativeswww.maketecheasier.comSunshine (she/her)@lemmy.ca to Linux@programming.devEnglish · 1 year agomessage-square44linkfedilink
minus-squarevvv@programming.devlinkfedilinkarrow-up16·1 year agomost 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
minus-squareVictor@lemmy.worldlinkfedilinkarrow-up3·1 year agoBut zoxide updates automatically, where you have to update CDPATH manually.
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.