dotfiles/zsh/.zshrc.d/fzf.zsh
2024-03-17 03:37:27 -05:00

13 lines
484 B
Bash

# ~/.zshrc.d/fzf.zsh
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
## default opts uses Catppuccin (mocha) color palette
export FZF_DEFAULT_OPTS='--color=bg+:#302D41,bg:#1E1E2E,spinner:#F8BD96,hl:#F28FAD --color=fg:#D9E0EE,header:#F28FAD,info:#DDB6F2,pointer:#F8BD96 --color=marker:#F8BD96,fg+:#F2CDCD,prompt:#DDB6F2,hl+:#F28FAD'
## completion trigger
export FZF_COMPLETION_TRIGGER="~~"
## default source for fzf
export FZF_DEFAULT_COMMAND="fd --type f --hidden --follow --exclude .git"