diff mbox series

[bug#66344] system: Modify bash skeleton to colorize 'ip' output.

Message ID 129f80d93efa5f78a3007f9837ace2ea78726e68.1696433761.git.mirai@makinata.eu
State New
Headers show
Series [bug#66344] system: Modify bash skeleton to colorize 'ip' output. | expand

Commit Message

Bruno Victal Oct. 4, 2023, 3:36 p.m. UTC
* gnu/system/shadow.scm (%default-bashrc): Add an alias for 'ip' that enables
output colorization.
---

It turns out the 'ip' command supports colorized output which makes its
output much more pleasant to the eyes.

 gnu/system/shadow.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


base-commit: 264baefa881cf53d451bdfee3dcd6b2ade796d26

Comments

Mathieu Othacehe Oct. 6, 2023, 9:32 a.m. UTC | #1
> * gnu/system/shadow.scm (%default-bashrc): Add an alias for 'ip' that enables
> output colorization.

Applied, thanks,

Mathieu
diff mbox series

Patch

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 @@  (define %default-bashrc
 
 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