• @vvv@programming.dev
      link
      fedilink
      1614 days ago

      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

      • Victor
        link
        fedilink
        313 days ago

        But zoxide updates automatically, where you have to update CDPATH manually.

    • fxomt
      link
      fedilink
      514 days ago

      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.

    • @Albbi@lemmy.ca
      link
      fedilink
      314 days ago

      Me too! Only learned about it a while ago too. I hate logging into machines that don’t have it.