Skip to main content

Helllo everyone,

I use the zsh shell as default shell on both Ubuntu and Arch. I

I configured a shortcut (the up arrow) to autocomplete from history in my zsh shell, using the following line in my .zshrc:

bindkey "^[[A" history-beginning-search-backward

bindkey "^[[A" history-beginning-search-backward 

However, when I source my .zshrc and/or reboot in Ubuntu, the shortcut does not work (I only get the previous command, no matter what I started typing), whereas on Arch it works fine (I only get the last command starting with what I typed).

Does anyone know how to solve this?

Thanks in advance!

Helllo everyone,

I use the zsh shell as default shell on both Ubuntu and Arch. I configured a shortcut (the up arrow) to autocomplete from history in my zsh shell, using the following line in my .zshrc:

bindkey "^[[A" history-beginning-search-backward

However, when I source my .zshrc and/or reboot in Ubuntu, the shortcut does not work (I only get the previous command, no matter what I started typing), whereas on Arch it works fine (I only get the last command starting with what I typed).

Does anyone know how to solve this?

Thanks in advance!

I use the zsh shell as default shell on both Ubuntu and Arch.

I configured a shortcut (the up arrow) to autocomplete from history in my zsh shell, using the following line in my .zshrc:

bindkey "^[[A" history-beginning-search-backward 

However, when I source my .zshrc and/or reboot in Ubuntu, the shortcut does not work (I only get the previous command, no matter what I started typing), whereas on Arch it works fine (I only get the last command starting with what I typed).

Does anyone know how to solve this?

Source Link
Ul Tome
  • 137
  • 1
  • 3
  • 11

.zshrc shortcut working on Arch but not Ubuntu

Helllo everyone,

I use the zsh shell as default shell on both Ubuntu and Arch. I configured a shortcut (the up arrow) to autocomplete from history in my zsh shell, using the following line in my .zshrc:

bindkey "^[[A" history-beginning-search-backward

However, when I source my .zshrc and/or reboot in Ubuntu, the shortcut does not work (I only get the previous command, no matter what I started typing), whereas on Arch it works fine (I only get the last command starting with what I typed).

Does anyone know how to solve this?

Thanks in advance!