fzf icon indicating copy to clipboard operation
fzf copied to clipboard

BUG: `invalid color specification: separator:#403d52`

Open eamonburns opened this issue 1 year ago • 1 comments

When pasting the contents of dist/rose-pine.sh into my .zshrc, after running fzf, I get the error

invalid color specification: separator:#403d52

If I delete the following line from the FZF_DEFAULT_OPTS:

    --color=spinner:#f6c177,info:#9ccfd8,separator:#403d52

then fzf runs without issue

eamonburns avatar Mar 12 '24 00:03 eamonburns

Looking throught the manual page (man fzf), under COLOR NAMES, it doesn't look like separator is listed as an option

eamonburns avatar Mar 12 '24 01:03 eamonburns

Just delete separator:#403d52; The separator keyword no longer supported.

example

export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS'
  --color=fg:#908caa,fg+:#d0d0d0,bg:#121212,bg+:#262626
  --color=hl:#ebbcba,hl+:#5fd7ff,info:#9ccfd8,marker:#eb6f92
  --color=prompt:#908caa,spinner:#f6c177,pointer:#c4a7e7,header:#31748f
  --color=gutter:#191724,border:#403d52,label:#aeaeae,query:#d9d9d9
  --border="rounded" --border-label="" --preview-window="border-rounded" --prompt="> "
  --marker=">" --pointer="◆" --separator="─" --scrollbar="│"'

rainbowflesh avatar Jul 22 '24 15:07 rainbowflesh