config(zsh): fix fzf-tab colors

main
sudo pacman -Syu 2024-10-09 15:04:27 +07:00
parent 89e38d8e9b
commit ffa6c6fa4d
2 changed files with 9 additions and 3 deletions

View File

@ -82,8 +82,7 @@ if command -v fzf &>/dev/null; then
--color=bg+:#313244,spinner:#f5e0dc,hl:#f38ba8 \ --color=bg+:#313244,spinner:#f5e0dc,hl:#f38ba8 \
--color=fg:#cdd6f4,header:#f38ba8,info:#cba6f7,pointer:#f5e0dc \ --color=fg:#cdd6f4,header:#f38ba8,info:#cba6f7,pointer:#f5e0dc \
--color=marker:#b4befe,fg+:#cdd6f4,prompt:#cba6f7,hl+:#f38ba8 \ --color=marker:#b4befe,fg+:#cdd6f4,prompt:#cba6f7,hl+:#f38ba8 \
--color=selected-bg:#45475a \ --color=selected-bg:#45475a"
--multi"
if command -v fd &>/dev/null; then if command -v fd &>/dev/null; then
_fzf_compgen_path() { _fzf_compgen_path() {
@ -114,6 +113,13 @@ if command -v fzf &>/dev/null; then
source /Users/anon/.zsh-plugins/fzf-tab/fzf-tab.plugin.zsh source /Users/anon/.zsh-plugins/fzf-tab/fzf-tab.plugin.zsh
zstyle ':completion:*' menu no zstyle ':completion:*' menu no
zstyle ':fzf-tab:*' fzf-flags \
--ansi \
--pointer='🔫' --prompt='🪓 ' \
--color=bg+:#313244,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
fi fi
fi fi

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
git -C ~/.zsh-plugins/fzf-tab pull master git -C ~/.zsh-plugins/fzf-tab pull origin master
fnm install --lts fnm install --lts