Turn off shell compilation mode for some commands
Fix term input mangled when altering command from history

I can now use C-a to move to the beginning of line and add environment
variables to a rake task.  For example:

rake test
(then later, via history)
RACK_ENV=custom rake test
               ^ cursor here when hitting RET

Will not mangle the input on that line anymore