Sunday 18 November 2018

oh my zsh - zsh history up-arrow history completion not working

I am not able to get the zsh history keybindings to work the way I'd like. I'd like to be able to type sudo and then use the up arrow to scroll through all history commands with the prefix sudo.


I believe this should be bindkey "^[[5~" up-line-or-history. I have that in lib/key-bindings.zsh and that file should be sourced. I am using a largely unmodified installation of oh-my-zsh.


I have what I think is the same .zshrc and lib files on a VM and history works as I want. The VM is running zsh 4.3.10 while my other machine (the one that is not working) is on 5.0.0. Is this a version issue?

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...