• @[email protected]
      link
      fedilink
      162 months 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
        32 months ago

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

    • fxomt
      link
      fedilink
      52 months 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.

    • @[email protected]
      link
      fedilink
      32 months ago

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