
04-13-2009
|
|
Shell programmer, author
|
|
|
Join Date: Mar 2007
Location: Toronto, Canada
Posts: 2,380
|
|
Quote:
Originally Posted by indiana_tas
...
But one thing I really adore about bash and tcsh is that you can use time-saving history recall options, like:
Code:
$! - return last option to the previous command
|
I hate the hijacking of a printing character (!). When I press !, I expect to see an exclamation mark. Therefore I always set histchars to an empty string to disable that annoying misfeature.
Bash has excellent functions for history search: history-search-backward, history-search-forward, reverse-search-history. I have them bound to UP, DOWN, and ^R respectively.
|