[pacman-dev] [PATCH] pacsearch colors and variable names
Pierre Neidhardt
ambrevar at gmail.com
Thu Jan 9 15:04:09 EST 2014
On 14-01-08 19:55:38, Jason St. John wrote:
> One other thing I noticed---and I don't know if this is actually an
> issue or not---the color for "[installed]" has been changed from red
> to cyan.
Well, pacman outputs "[installed]" in cyan, so I think I'm getting things here,
aren't I?
Anyway, this reminds me of another issue: the string "installed" is hard coded,
so it does not take the locale into account! Try to run pacsearch on a local
package (e.g. a package installed from the AUR) and you will see.
I've managed to fix this issue with a gettext.
By the way I've implemented a Arch-agnostic version, added a -n, --nocolor
option, and fixed a performance issue. Will submit a new patch as soon as
possible.
--
Pierre Neidhardt
The best thing about growing older is that it takes such a long time.
More information about the pacman-dev
mailing list