News for hackers. Stuff that matters.
Re:Ask HN: Best things in your bash_profile/aliases? by dflock on Monday January 14, 2019 @04:05PM (#18906458)
There's a static version of this built into bash, btw:

    # allow directory variables
    shopt -s cdable_vars
    
    # set a directory variable
    export some=~/Projects/someproject
You can then say `cd some` from anywhere and end up in `~/Projects/someproject`.

There are no comments on this comment yet.