Properly fails when specifying more than one command for cd
Fully functional with signal handler. Switched to readline method instead of fgets.