From 40ddaaa1c7ef6cb6250708c4c80154700f3bbb15 Mon Sep 17 00:00:00 2001 From: hl Date: Mon, 4 Nov 2024 06:22:13 +0800 Subject: [PATCH] update --- .zshrc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.zshrc b/.zshrc index 9f839a7..4adacf5 100644 --- a/.zshrc +++ b/.zshrc @@ -25,6 +25,9 @@ bindkey "^H" vi-backward-kill-word #C-Backspace bindkey "^[[3;5~" delete-word #C-Delete # End of lines configured by zsh-newuser-install +source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh +source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh + source /usr/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh bindkey -M menuselect "^[" undo bindkey -M menuselect "\r" .accept-line @@ -42,15 +45,9 @@ zstyle ':completion:*' matcher-list 'm:{[:lower:][:upper:]}={[:upper:][:lower:]} #compinit # End of lines added by compinstall - autoload -Uz promptinit promptinit - -source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh -source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh - - export FZF_DEFAULT_COMMAND='fdfind --strip-cwd-prefix --hidden --exclude .git --exclude __pycache__ --exclude node_modules --exclude .cache' export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" export FZF_ALT_C_COMMAND='fdfind --type d --strip-cwd-prefix --hidden --exclude .git --exclude __pycache__ --exclude node_modules --exclude .cache'