News for hackers. Stuff that matters.
Re:Don't waste your time by cd-ing in the terminal by unfletch on Saturday February 19, 2011 @12:02AM (#2238439)
in Bash, change the first line to:

    shopt -s cdable_vars
Re:Don't waste your time by cd-ing in the terminal by _b8r0 on Saturday February 19, 2011 @05:18AM (#2238828)
in Bash you don't even need to do that, just do:

    foo=/etc/
    cd $foo