How long did I do "mkdir blah\ncd blah" until I finally wrote this simple little function?
I'm thinking it should just be a quasi-standard, like `ll`.

function mcd {
#mkdir & cd
[[ $1 ]] && mkdir "$1" && cd "$1"
}

@RL_Dane I'm usually just doing

mkdir test
cd !$

works well, and it's not that much work really

@sotolf

Fair, it's just that typing "!$" takes more precision.

@RL_Dane not if you have muscle memory :p and I work on a lot of machines so I need vanilla ways of doing things.

@sotolf

Trying to remember what it was like to administer/secure 100+ servers.

I probably just stuck with vanilla a lot, too. It also gave me an appreciation for vanilla ksh (ksh88, even!) and vanilla vi/nvi.

@RL_Dane @sotolf
You can also do "cd alt+." instead "cd !$"
Alt+. pastes the argument from the previous command at the cursor's position
@jiminycricket @RL_Dane that's nifty, didn't know about that one :)

@eltheanine @jiminycricket @sotolf

I think that's a `set -o emacs` thing that I'm too `set -o vi` to understand. ^___^

@RL_Dane @eltheanine @jiminycricket That's another non-vanilla setting that I'm not going to make on all servers I'm dealing with.