Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.297 lost its colors #123

Closed
muesli opened this issue Jan 31, 2018 · 7 comments
Closed

v2.297 lost its colors #123

muesli opened this issue Jan 31, 2018 · 7 comments

Comments

@muesli
Copy link
Contributor

muesli commented Jan 31, 2018

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?

@Jguer
Copy link
Owner

Jguer commented Jan 31, 2018

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

@muesli
Copy link
Contributor Author

muesli commented Jan 31, 2018

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!

@huangcong12
Copy link

cool

@chalist
Copy link

chalist commented Jan 26, 2020

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

@andersfylling
Copy link

andersfylling commented Jun 19, 2021

Not sure if this is an issue for other people, but while I have color enabled in pacman.conf, my output is still just mostly gray.
image

@Jguer
Copy link
Owner

Jguer commented Jun 21, 2021

@andersfylling try yay -Syu --combinedupgrade --save

@andersfylling
Copy link

andersfylling commented Jun 24, 2021

image
It added a extra/new section that had colours, the rest is the same ^^,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants