Posted by: Anonymous Coward
on July 05, 2006 11:28 PM
Just type "set -o vi" at the command prompt.
Now you can then recall the previous command by pressing "Esc k". Press "k" again to get the next previous command. Press "j" and you come back down the list. Press "l" or "h" to go left or right, just like in vi. You can use vi commands to edit the command.
There's an easier way for those who use vi
Posted by: Anonymous Coward on July 05, 2006 11:28 PMNow you can then recall the previous command by pressing "Esc k". Press "k" again to get the next previous command. Press "j" and you come back down the list. Press "l" or "h" to go left or right, just like in vi. You can use vi commands to edit the command.
Sure is easier than all this "fc" stuff!
#