Hello, On Wed, 05 Apr 2017, Per Jessen wrote:
Andrei Borzenkov wrote:
05.04.2017 03:55, David C. Rankin ?????:
Damnit,
I update and now the stupid grep highlight is re-enabled on my system. (leap 42.2). How do I turn it off again? In the past it was controlled by disabling
/etc/profile.d/alias.bash
That file doesn't exist on my system. Where is the setting hidden now?
grep --color=auto is default since its introduction in 2001 as far as I can tell.
I don't get results in colour on my openSUSE 10.3. It must have changed later.
On 10.3: # type grep grep is hashed (/usr/bin/grep)
On leap422: # type grep grep is aliased to `grep --color=auto'
On 11.4: # type grep grep is /usr/bin/grep
On 12.1: by default it was grep --color=auto IIRC. Which I couldn't stand. Anyway: those colors seem to be for black on white, which is just wrong. Anyway: it was determined via LS_OPTIONS and thus on LS_COLORS, with the base settings seeming to be in /etc/profile and /etc/bash.bashrc Which led to: $ grep LS_COLORS /etc/profile.local unset LS_COLORS
On 12.3: # type grep grep is aliased to `grep --color=auto'
*bwah* I hate stuff like that. And assuming e.g. a black-on-white terminal with the coloring scheme etc. IF I WANT COLORS, I CAN USE THE OPTION OR DEFINE AN ALIAS MYSELF! MORONS! Oh, and all that is not specific to SUSE, mind you! -dnh --
There is of course also Advocaat, aka "alcoholic custard" [..]. Especially if you've got a bottle with a dodgy lid and then eagerly follow the instructions to shake before use. -- Peter Ah. Alcoholic bukkake. -- Jim
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org