[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: system: Default .bashrc uses '--color=auto' for grep and ls.
From: |
Ludovic Courtès |
Subject: |
01/02: system: Default .bashrc uses '--color=auto' for grep and ls. |
Date: |
Wed, 4 Jul 2018 18:16:08 -0400 (EDT) |
civodul pushed a commit to branch version-0.15.0
in repository guix.
commit 9fd877247de6efec3aec53e93db5323a97d7b05e
Author: Ludovic Courtès <address@hidden>
Date: Wed Jul 4 21:52:23 2018 +0200
system: Default .bashrc uses '--color=auto' for grep and ls.
Reported by Tobias Geerinckx-Rice <address@hidden>
and Björn Höfling <address@hidden>.
* gnu/system/shadow.scm (default-skeletons)["bashrc"]: Use
'--color=auto' instead of '--color'.
---
gnu/system/shadow.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm
index 28d399f..b4db69f 100644
--- a/gnu/system/shadow.scm
+++ b/gnu/system/shadow.scm
@@ -178,9 +178,9 @@ then
else
PS1='address@hidden \\w\\$ '
fi
-alias ls='ls -p --color'
+alias ls='ls -p --color=auto'
alias ll='ls -l'
-alias grep='grep --color'\n"))
+alias grep='grep --color=auto'\n"))
(zlogin (plain-file "zlogin" "\
# Honor system-wide environment variables
source /etc/profile\n"))