Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: acroread problem? [was: completion for pdf and python]



Hi,

* Peter Stephenson <pws@xxxxxxx> wrote:
> Fabian Braennstroem wrote:
>> * Frank Terbeck <frank.terbeck@xxxxxxxxxxxxxx> wrote:
>> > zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
>> >
>> > That should use the same colors that 'ls' uses.
>> 
>> Thanks, but it does not have any affect!?
>
> If you want to set up LS_COLORS, use dircolors, which comes with GNU ls.

Thanks to all! I use:

eval $(dircolors -b ~/.dircolors)

setopt autolist
ZLS_COLOURS=$LS_COLORS
export ZLS_COLOURS
#LS_COLORS=$ZLS_COLOURS
#export LS_COLORS
ZLS_COLOURS="$ZLS_COLOURS:(hosts)=(#b)(*).(mayn.de)=36;40=31;40" # real fun
ZLS_COLOURS="$ZLS_COLOURS:(hosts)=*=33;40" # hostnames in yellow
ZLS_COLOURS="$ZLS_COLOURS:(users)=*=32;40" # users in green
export ZLS_COLOURS

It works fine for me :-)

Greetings!
 Fabian



Messages sorted by: Reverse Date, Date, Thread, Author