Skip to content

Commit

Permalink
zsh: 》Adding catppuccin theme for fzf.
Browse files Browse the repository at this point in the history
  • Loading branch information
TechDufus committed Dec 19, 2024
1 parent 42d9e90 commit 85ff89c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions roles/zsh/files/zsh/fzf_config.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
show_file_or_dir_preview="if [ -d {} ]; then lsd --oneline --tree --color=always --icon=always {} | head -200; else bat -n --color=always --line-range :500 {}; fi"

export FZF_CTRL_T_OPTS="--preview '$show_file_or_dir_preview'"
# catppuccin mocha theme.
export FZF_DEFAULT_OPTS=" \
--color=bg+:#313244,bg:#1e1e2e,spinner:#f5e0dc,hl:#f38ba8 \
--color=fg:#cdd6f4,header:#f38ba8,info:#cba6f7,pointer:#f5e0dc \
--color=marker:#b4befe,fg+:#cdd6f4,prompt:#cba6f7,hl+:#f38ba8 \
--color=selected-bg:#45475a \
--multi"

# Advanced customization of fzf options via _fzf_comprun function
# - The first argument to the function is the name of the command.
Expand Down

0 comments on commit 85ff89c

Please sign in to comment.