Resolve history-beginning-search issue
This commit is contained in:
parent
d873127923
commit
bf00568488
1 changed files with 3 additions and 6 deletions
|
@ -94,12 +94,9 @@
|
||||||
programs.zsh.initExtra = ''
|
programs.zsh.initExtra = ''
|
||||||
source $HOME/.p10k.zsh
|
source $HOME/.p10k.zsh
|
||||||
|
|
||||||
# We manually include zsh-history-substring-search.
|
# History search, but from beginning
|
||||||
autoload -U history-search
|
bindkey "^[[A" history-beginning-search-backward
|
||||||
zle -N history-beginning-search-backward history-search
|
bindkey "^[[B" history-beginning-search-forward
|
||||||
zle -N history-beginning-search-forward history-search
|
|
||||||
bindkey '^[[A' history-beginning-search-backward
|
|
||||||
bindkey '^[[B' history-beginning-search-forward
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# This value determines the Home Manager release that your
|
# This value determines the Home Manager release that your
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue