mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-26 14:44:58 +08:00
Update zshrc: set word delimiter and fzf default command
This commit is contained in:
parent
3f3b15f401
commit
cee11f1aa6
1 changed files with 3 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ if [[ -f /usr/share/fzf/completion.zsh ]]; then
|
|||
source /usr/share/fzf/completion.zsh
|
||||
fi
|
||||
export FZF_COMPLETION_TRIGGER='~~'
|
||||
export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden'
|
||||
export FZF_DEFAULT_COMMAND='fd -uu -E .git -E .node_modules'
|
||||
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
|
||||
# >>>-----------------------------------
|
||||
|
||||
|
|
@ -81,6 +81,8 @@ bindkey -e
|
|||
if [[ -f /usr/share/fzf/key-bindings.zsh ]]; then
|
||||
source /usr/share/fzf/key-bindings.zsh
|
||||
fi
|
||||
# 默认 WORDCHARS='*?_-.[]~=/&;!#$%^(){}<>'
|
||||
export WORDCHARS='*?_-.[]~=&;!#$%^(){}<>'
|
||||
# >>>-----------------------------------
|
||||
|
||||
# 提示符 <<<----------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue