summary refs log tree commit diff
path: root/gnu/system
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-07-04 19:13:49 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2018-07-05 02:35:03 +0200
commit142869f80f5d339f813ec32ebf1fdd9fcc58f578 (patch)
tree4af17de3e4edbfe4a8694f1b1718d1928b1f7855 /gnu/system
parent1e6191bb55afd1173a3ce3a8a7116b5332aedf52 (diff)
downloadguix-142869f80f5d339f813ec32ebf1fdd9fcc58f578.tar.gz
Don't force colour in aliases.
* gnu/system/shadow.scm (default-skeletons): Substitute ‘--color=auto’
for ‘--color’ (which implies ‘=always’) in aliases.
* doc/guix.texi (G-Expressions): Also adjust examples as that makes
more sense.
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/shadow.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm
index 28d399f2b1..b4db69f068 100644
--- a/gnu/system/shadow.scm
+++ b/gnu/system/shadow.scm
@@ -178,9 +178,9 @@ then
 else
     PS1='\\u@\\h \\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"))