Fish colors are stored as universal variables. Do `set -U | grep color` to
see them. In this case it is the `fish_pager_color_prefix` that is of
interest.

The basic problem is that fish has no way to determine the background color
of your terminal. So it cannot ensure the colors it uses have sufficient
contrast. You can use the `fish_config` command to launch a GUI in your web
browser that will let you see and change what your color theme, and the
themes shipped with fish, look like when displayed on various background
colors.

On Mon, Mar 13, 2017 at 9:17 AM, Tassilo Horn <t...@gnu.org> wrote:

> Hi all,
>
> I'm a new fish user.  First experience were really good although there's
> one major issue for me.  Assume in my $HOME directory there are two
> files foobar and fooquux.  When I type
>
>     ls foo<TAB>
>
> at the prompt, the possible list of completions looks like
>
>    bar      quux
>
> that is, the common prefix I have already typed is not shown in the
> completions.
>
> However, when I copy and paste from the terminal I can see that in fact,
> it shows foobar and fooquux, however it seems like the color is white on
> white.
>
> In the colors tab of fish_config, there's no color to give to common
> completion prefixes which I could change.  (There's also no color for
> globbing patterns * and ? which are currently almost invisible: a very
> light yellow on white background.)
>
> After a bit of fiddeling, I found out that the common completion prefix
> is printed visibly (underlined) when I change my terminal from black
> foreground on white background to white foreground on black background,
> but I don't want to do that.
>
> I tried with both urxvt and gnome-terminal (TERM is xterm-256color in
> both cases).  On a Linux VT, the completion is actually visible.
>
> So what should I do?
>
> Additionally, where does fish save my colors configuration I set in
> fish_config?
>
> Additionally 2: Until this thing is sorted out, I still use zsh as my
> main shell.  But it just occurred to me that when I have a zsh shell and
> start fish by issuing it at the prompt, SHELL will remain /bin/zsh.  Is
> that intensional?
>
> Bye,
> Tassilo
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>



-- 
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to