This commit is contained in:
hl 2024-11-04 06:22:13 +08:00
parent f0f513eb40
commit 40ddaaa1c7

9
.zshrc
View File

@ -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'