View Single Post
  #6 (permalink)  
Old 05-01-2010, 08:11 PM
cfajohnson cfajohnson is offline
Member
User
 
Join Date: May 2009
OS: Mandriva
Posts: 82
Thanks: 0
Thanked 14 Times in 14 Posts
Rep Power: 2
cfajohnson has a spectacular aura about cfajohnson has a spectacular aura about
Default

Quote:
Originally Posted by rockdalinux View Post
Code:
command-name
Run the last command-name
Code:
!!

I loathe 'features' that cause a key that normally prints a character to do something else. When I press !, I want ! to appear, dammit!

I remove its special meaning by clearing the histchars variable:

Code:
histchars=
To search history I use either ^R (reverse-i-search) or up-arrow, which I have bound to history-search-backward. This will find previous commands beginning with whatever I have already typed on the command
line.

Last edited by cfajohnson; 05-01-2010 at 08:15 PM.
Reply With Quote