This commit is contained in:
hl committed 2024-11-04 06:22:13 +08:00
1 parent f0f513eb40
commit 40ddaaa1c7
1 file changed
+3 -6
+3 -6
View File
@@ -25,6 +25,9 @@ bindkey "^H" vi-backward-kill-word #C-Backspace
bindkey "^[[3;5~" delete-word #C-Delete bindkey "^[[3;5~" delete-word #C-Delete
# End of lines configured by zsh-newuser-install # 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 source /usr/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh
bindkey -M menuselect "^[" undo bindkey -M menuselect "^[" undo
bindkey -M menuselect "\r" .accept-line bindkey -M menuselect "\r" .accept-line
@@ -42,15 +45,9 @@ zstyle ':completion:*' matcher-list 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}
#compinit #compinit
# End of lines added by compinstall # End of lines added by compinstall
autoload -Uz promptinit autoload -Uz promptinit
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_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_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' export FZF_ALT_C_COMMAND='fdfind --type d --strip-cwd-prefix --hidden --exclude .git --exclude __pycache__ --exclude node_modules --exclude .cache'