Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

In guake I can type ls UP-ARROW and it will show ls /home/blah for example. In terminator using up arrow after typing ls just brings me to the command I entered prior. Is there any way to enable this in terminator / what is this functionality called? I use zsh by the way.

share|improve this question
add comment

1 Answer 1

If you use bash, you can add the following to your ~/.inputrc

"\e[A": history-search-backward
"\e[B": history-search-forward

If you use zsh, you can add the following to your ~/.zshrc

bindkey "^[[A" history-search-backward
bindkey "^[[B" history-search-forward
share|improve this answer
    
I actually use zsh but this is exactly what I meant. –  jett May 16 '13 at 3:11
    
@jett I think you want bindkey “^[[A" history-search-backward and bindkey "^[[B" history-search-forward then –  demure May 16 '13 at 3:55
    
hm.. I applied it but no avail. –  jett May 16 '13 at 4:46
    
@jett in your ~/.zshrc? Sorry, didn't list that earlier; zsh doesn't care about ~/.inputrc. –  demure May 16 '13 at 5:26
    
yes at the bottom of my zshrc. It doesn't have any noticeable affect. –  jett May 16 '13 at 6:30
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.