0

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.

1 Answer 1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .