home.social

#cdpath — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #cdpath, aggregated by home.social.

  1. #MidnightCommander just told me, that setting the #CDPATH environment variable might be a good way to save some keystrokes when using the `cd` command.

    I'm inclined to agree with him.

    theunixschool.com/2012/04/what

    #Linux #UNIX

  2. @tschet Good point. For me, I have very many projects, and they are often changing. So fits this case pretty well.

    While not exactly what I said, it doesn't save that many characters but has somehow encouraged me to make my repos less scattered, which has been useful in my case...

  3. Does anyone else use $CDPATH in ? I have CDPATH=~/git/, and can directly `cd` to any repository in that directory. It takes a :-separated list, just like PATH.

    I've used it for a while and there don't seem to be many downsides - and it's motivated me to to keep my projects more organized than before.