View Single Post

   
  #5 (permalink)  
Old 01-16-2008, 06:12 PM
Ivars Strazdins
 
Posts: n/a
Default Re: repeating commands

>>Try
>>set -o vi
>>
>>then "<esc>-" should give the previous command.


if you're too lazy to press esc everytime, these commands also should do
the trick

set -o emacs
alias -x __A=$(print '\020')
alias -x __B=$(print '\016')
alias -x __D=$(print '\002')
alias -x __C=$(print '\006')


br,
Ivars
Reply With Quote