From fde26938db7562f094b66e1df4867b9c62cb188d Mon Sep 17 00:00:00 2001 From: dadada Date: Sat, 12 Jun 2021 00:10:05 +0200 Subject: [PATCH] fix zsh highlighting --- modules/home/zsh.nix | 2 ++ modules/profiles/laptop/default.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/home/zsh.nix b/modules/home/zsh.nix index 071e989..f927f2b 100644 --- a/modules/home/zsh.nix +++ b/modules/home/zsh.nix @@ -31,6 +31,8 @@ in source ~/.nix-profile/share/fzf/key-bindings.zsh source ~/.nix-profile/share/fzf/completion.zsh + bindkey '^n' autosuggest-accept + preexec() { echo -n -e "\033]0;$1\007" } PROMPT="%F{red}%?%f %F{green}%m%f:%F{blue}%~%f " diff --git a/modules/profiles/laptop/default.nix b/modules/profiles/laptop/default.nix index 18f8feb..e8af493 100644 --- a/modules/profiles/laptop/default.nix +++ b/modules/profiles/laptop/default.nix @@ -39,7 +39,7 @@ with lib; vteIntegration = true; syntaxHighlighting = { enable = true; - highlighters = [ "main" "brackets" "pattern" "cursor" "root" "line" ]; + highlighters = [ "main" "brackets" "pattern" "root" "line" ]; }; }; }