Yay: v2.297 lost its colors

Created on 31 Jan 2018  路  4Comments  路  Source: Jguer/yay

The previous releases used to show colorful output on the terminal, e.g. when searching for packages. The latest release doesn't do that anymore. Is it expecting a config flag or a particular cli arg for that feature now?

Question

Most helpful comment

yay now follows pacman's config /etc/pacman.conf for colors.

You need to add Color to your options /etc/pacman.conf
Example (my pacman.conf):

#{{{ General options
    [options]
    HoldPkg      = pacman glibc
    CleanMethod  = KeepInstalled
    UseDelta     = 0.7
    Architecture = auto
#}}}

#{{{ Misc options
    UseSyslog
    Color
    TotalDownload
    CheckSpace
    VerbosePkgLists
#}}}

#{{{ Trust
    SigLevel           = Required DatabaseOptional
    LocalFileSigLevel  = Optional
    RemoteFileSigLevel = Required
#}}}

#{{{ Repositories
    [core]
    Include = /etc/pacman.d/mirrorlist

    [extra]
    Include = /etc/pacman.d/mirrorlist

    [community]
    Include = /etc/pacman.d/mirrorlist

    [multilib]
    Include = /etc/pacman.d/mirrorlist
#}}}

# vim:fdm=marker

All 4 comments

yay now follows pacman's config /etc/pacman.conf for colors.

You need to add Color to your options /etc/pacman.conf
Example (my pacman.conf):

#{{{ General options
    [options]
    HoldPkg      = pacman glibc
    CleanMethod  = KeepInstalled
    UseDelta     = 0.7
    Architecture = auto
#}}}

#{{{ Misc options
    UseSyslog
    Color
    TotalDownload
    CheckSpace
    VerbosePkgLists
#}}}

#{{{ Trust
    SigLevel           = Required DatabaseOptional
    LocalFileSigLevel  = Optional
    RemoteFileSigLevel = Required
#}}}

#{{{ Repositories
    [core]
    Include = /etc/pacman.d/mirrorlist

    [extra]
    Include = /etc/pacman.d/mirrorlist

    [community]
    Include = /etc/pacman.d/mirrorlist

    [multilib]
    Include = /etc/pacman.d/mirrorlist
#}}}

# vim:fdm=marker

Awesome, that's definitely an improvement! Quickly added the Color option to my pacman.conf and can confirm it's working just fine. Thanks for the detailed reply!

cool

Need to uncomment Color in /etc/pacman.conf file. Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bazeeel picture bazeeel  路  4Comments

AdrienLemaire picture AdrienLemaire  路  3Comments

nivaca picture nivaca  路  4Comments

captn3m0 picture captn3m0  路  4Comments

GhostKraft picture GhostKraft  路  4Comments