emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#66344: closed ([PATCH] system: Modify bash skeleton to colorize 'ip'


From: GNU bug Tracking System
Subject: bug#66344: closed ([PATCH] system: Modify bash skeleton to colorize 'ip' output.)
Date: Fri, 06 Oct 2023 09:34:02 +0000

Your message dated Fri, 06 Oct 2023 11:32:29 +0200
with message-id <87il7k9jv6.fsf@gnu.org>
and subject line Re: bug#66344: [PATCH] system: Modify bash skeleton to 
colorize 'ip' output.
has caused the debbugs.gnu.org bug report #66344,
regarding [PATCH] system: Modify bash skeleton to colorize 'ip' output.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
66344: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66344
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- 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




--- End Message ---
--- Begin Message --- Subject: Re: bug#66344: [PATCH] system: Modify bash skeleton to colorize 'ip' output. Date: Fri, 06 Oct 2023 11:32:29 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
> * gnu/system/shadow.scm (%default-bashrc): Add an alias for 'ip' that enables
> output colorization.

Applied, thanks,

Mathieu


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]