aboutsummaryrefslogtreecommitdiff
path: root/doc
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 /doc
parent1e6191bb55afd1173a3ce3a8a7116b5332aedf52 (diff)
downloadpatches-142869f80f5d339f813ec32ebf1fdd9fcc58f578.tar
patches-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 'doc')
-rw-r--r--doc/guix.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 841bc2a34f..aeac5aaa81 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -5464,7 +5464,7 @@ denoting the target file. Here's an example:
`(("hosts" ,(plain-file "hosts"
"127.0.0.1 localhost"))
("bashrc" ,(plain-file "bashrc"
- "alias ls='ls --color'"))))
+ "alias ls='ls --color=auto'"))))
@end example
This yields an @code{etc} directory containing these two files.