• vvv@programming.dev
      link
      fedilink
      arrow-up
      12
      ·
      28 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

    • Albbi@lemmy.ca
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      28 days ago

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