In zsh: alias ':q'=exit I can't count the number of times I've typed ':q' by mistake in a shell expecting it to quit. Now it will :)