Bash Idiocies

Ovid on 2008-06-17T13:35:50

It's a long story, but in debugging a bash script, I accidentally did the equivalent of the following:

cd () {
    ls -l
    exit
}

And then I changed into my target directory. Hey, where the hell did my terminal go?!?!