GNU bug report logs - #66344
[PATCH] system: Modify bash skeleton to colorize 'ip' output.

Previous Next

Package: guix-patches;

Reported by: Bruno Victal <mirai <at> makinata.eu>

Date: Wed, 4 Oct 2023 15:39:01 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 66344 in the body.
You can then email your comments to 66344 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#66344; Package guix-patches. (Wed, 04 Oct 2023 15:39:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bruno Victal <mirai <at> makinata.eu>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 04 Oct 2023 15:39:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bruno Victal <mirai <at> makinata.eu>
To: guix-patches <at> gnu.org
Cc: Bruno Victal <mirai <at> makinata.eu>
Subject: [PATCH] system: Modify bash skeleton to colorize 'ip' output.
Date: Wed,  4 Oct 2023 16:36:01 +0100
* 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





Reply sent to Mathieu Othacehe <othacehe <at> gnu.org>:
You have taken responsibility. (Fri, 06 Oct 2023 09:34:02 GMT) Full text and rfc822 format available.

Notification sent to Bruno Victal <mirai <at> makinata.eu>:
bug acknowledged by developer. (Fri, 06 Oct 2023 09:34:02 GMT) Full text and rfc822 format available.

Message #10 received at 66344-done <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Bruno Victal <mirai <at> makinata.eu>
Cc: 66344-done <at> debbugs.gnu.org
Subject: Re: bug#66344: [PATCH] system: Modify bash skeleton to colorize
 'ip' output.
Date: Fri, 06 Oct 2023 11:32:29 +0200
> * gnu/system/shadow.scm (%default-bashrc): Add an alias for 'ip' that enables
> output colorization.

Applied, thanks,

Mathieu




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 03 Nov 2023 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 283 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.