* [bug#66344] [PATCH] system: Modify bash skeleton to colorize 'ip' output.
@ 2023-10-04 15:36 Bruno Victal
2023-10-06 9:32 ` bug#66344: " Mathieu Othacehe
0 siblings, 1 reply; 2+ messages in thread
From: Bruno Victal @ 2023-10-04 15:36 UTC (permalink / raw)
To: 66344; +Cc: Bruno Victal
* 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(-)
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
base-commit: 264baefa881cf53d451bdfee3dcd6b2ade796d26
--
2.41.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#66344: [PATCH] system: Modify bash skeleton to colorize 'ip' output.
2023-10-04 15:36 [bug#66344] [PATCH] system: Modify bash skeleton to colorize 'ip' output Bruno Victal
@ 2023-10-06 9:32 ` Mathieu Othacehe
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2023-10-06 9:32 UTC (permalink / raw)
To: Bruno Victal; +Cc: 66344-done
> * gnu/system/shadow.scm (%default-bashrc): Add an alias for 'ip' that enables
> output colorization.
Applied, thanks,
Mathieu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-06 9:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-04 15:36 [bug#66344] [PATCH] system: Modify bash skeleton to colorize 'ip' output Bruno Victal
2023-10-06 9:32 ` bug#66344: " Mathieu Othacehe
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).