Last Updated: February 25, 2016
·
524
· rrix

"Forge in" to a directory

function fin()
{
    mkdir -p $1 && cd $1
}

... in your bashrc.

Now, instead of mkdir -p foo/bar/baz && cd foo/bar/baz, you can fin foo/bar/baz and end up in your newly created directory.