Skip to content
Myr

fish: Make CTRL-R work on empty/invalid $fish_color{normal,comment} (#4831)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix #4767 Fix #4830

authored by bitraid · committed by GitHub · parent 3951df8 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:shell/key-bindings.fish+1 added-1 removed
150 unmodified lines
151152 # Enable syntax highlighting colors on fish v4.3.3 and newer153 if string match -qr -- '^\\d\\d+|^4\\.[4-9]|^4\\.3\\.[3-9]' $version154 set -a -- FZF_DEFAULT_OPTS '--ansi'155 set -a -- FZF_DEFAULT_COMMAND '--color=always --show-time=(set_color $fish_color_comment)"%F %a %T%t%s%t"(set_color $fish_color_normal)'155 set -a -- FZF_DEFAULT_COMMAND '--color=always --show-time=(set_color $fish_color_comment 2>/dev/null; or set_color normal)"%F %a %T%t%s%t"(set_color normal)'156 else157 set -a -- FZF_DEFAULT_COMMAND '--show-time="%F %a %T%t%s%t"'158 end159
60 unmodified lines