summary refs log tree commit diff
path: root/gnu/system
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-10-04 16:36:01 +0100
committerMathieu Othacehe <othacehe@gnu.org>2023-10-06 11:52:13 +0200
commit70c27db33edc76424ac680bd2cb8470573ea42fe (patch)
tree27d362dad40f08c58eba575060e55618b2576ee3 /gnu/system
parente97e7089583198651b9a047837d35d3327691b70 (diff)
downloadguix-70c27db33edc76424ac680bd2cb8470573ea42fe.tar.gz
system: Modify bash skeleton to colorize 'ip' output.
* gnu/system/shadow.scm (%default-bashrc): Add an alias for 'ip' that enables
output colorization.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/shadow.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm
index 9ca1895ded..47f19551b6 100644
--- a/gnu/system/shadow.scm
+++ b/gnu/system/shadow.scm
@@ -144,7 +144,8 @@ fi
 
 alias ls='ls -p --color=auto'
 alias ll='ls -l'
-alias grep='grep --color=auto'\n"))
+alias grep='grep --color=auto'
+alias ip='ip -color=auto'\n"))
 
 (define (default-skeletons)
   "Return the default skeleton files for /etc/skel.  These files are copied by