mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
fix: zsh fast-syntax-highlighting wasn't overriding new up down widgets
This commit is contained in:
parent
736287e536
commit
80a4544bee
2 changed files with 6 additions and 5 deletions
|
@ -20,6 +20,12 @@
|
|||
initExtra = lib.readFile ./zshrc;
|
||||
initExtraFirst = ''
|
||||
HISTDB_FILE=''${XDG_DATA_HOME-$HOME/.local/share}/zsh/history.db
|
||||
|
||||
# Do this early so fast-syntax-highlighting can wrap and override this
|
||||
if autoload history-search-end; then
|
||||
zle -N history-beginning-search-backward-end history-search-end
|
||||
zle -N history-beginning-search-forward-end history-search-end
|
||||
fi
|
||||
'';
|
||||
plugins = [
|
||||
{
|
||||
|
|
|
@ -77,11 +77,6 @@ zle -N fzf-cd
|
|||
bindkey -d
|
||||
bindkey -e
|
||||
|
||||
if autoload history-search-end; then
|
||||
zle -N history-beginning-search-backward-end history-search-end
|
||||
zle -N history-beginning-search-forward-end history-search-end
|
||||
fi
|
||||
|
||||
function nop() {
|
||||
true
|
||||
}; zle -N nop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue