From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 04 11:38:56 2023 Received: (at submit) by debbugs.gnu.org; 4 Oct 2023 15:38:56 +0000 Received: from localhost ([127.0.0.1]:45134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo3xf-0000YQ-NV for submit@debbugs.gnu.org; Wed, 04 Oct 2023 11:38:55 -0400 Received: from lists.gnu.org ([2001:470:142::17]:54098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo3xe-0000YD-NY for submit@debbugs.gnu.org; Wed, 04 Oct 2023 11:38:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qo3xC-000072-Rj for guix-patches@gnu.org; Wed, 04 Oct 2023 11:38:31 -0400 Received: from smtpm2.myservices.hosting ([185.26.105.233]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qo3xB-0003y8-8f for guix-patches@gnu.org; Wed, 04 Oct 2023 11:38:26 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm2.myservices.hosting (Postfix) with ESMTP id 59A5A20E5F for ; Wed, 4 Oct 2023 17:38:19 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id D704B80097; Wed, 4 Oct 2023 17:38:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id nvqeao-9i9pP; Wed, 4 Oct 2023 17:38:15 +0200 (CEST) Received: from guix-nuc.home.arpa (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 5F95880095; Wed, 4 Oct 2023 17:38:15 +0200 (CEST) From: Bruno Victal To: guix-patches@gnu.org Subject: [PATCH] system: Modify bash skeleton to colorize 'ip' output. Date: Wed, 4 Oct 2023 16:36:01 +0100 Message-ID: <129f80d93efa5f78a3007f9837ace2ea78726e68.1696433761.git.mirai@makinata.eu> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.105.233; envelope-from=mirai@makinata.eu; helo=smtpm2.myservices.hosting X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Bruno Victal X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 06 05:33:02 2023 Received: (at 66344-done) by debbugs.gnu.org; 6 Oct 2023 09:33:02 +0000 Received: from localhost ([127.0.0.1]:49125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qohCg-0000N2-7n for submit@debbugs.gnu.org; Fri, 06 Oct 2023 05:33:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42928) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qohCa-0000MQ-QF for 66344-done@debbugs.gnu.org; Fri, 06 Oct 2023 05:33:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qohCC-0007AW-4s; Fri, 06 Oct 2023 05:32:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=VhZwctsiApzqX7b4anz04WWGLfglEiMlyGdx145+FzM=; b=MHxp1Ck6ueXT0GlFCThA B2bjqFuLQM0UmIocEs5F7LMdDYRDh2sNvfHEztQs0kzoeb/65AKJFDBob40Zb3fMWRuwvImrjtwzv 0NrucezYUU8Uv4402jQ7kNualx4/1GHSmTQ1blvjFLHYWrih6cGcpVA4sgoyuKiLIUw1mQiaB9PAB pRhK+YTqsZR7EACPtkDO4XJBNrTD5BO4jtxAG3GCr+7aceMB6Og+c8XTXcLb3O40YayITOwM0RCzc xA5RaDlyqqoDhqUgjBpFb2YhyFdhpIVihYg1QnqjHJrupSkoCSfS2bzZlm8i6QJTZApAfZgc/3/qS 7d7ForUeSpsFOw==; From: Mathieu Othacehe To: Bruno Victal Subject: Re: bug#66344: [PATCH] system: Modify bash skeleton to colorize 'ip' output. References: <129f80d93efa5f78a3007f9837ace2ea78726e68.1696433761.git.mirai@makinata.eu> Date: Fri, 06 Oct 2023 11:32:29 +0200 In-Reply-To: <129f80d93efa5f78a3007f9837ace2ea78726e68.1696433761.git.mirai@makinata.eu> (Bruno Victal's message of "Wed, 4 Oct 2023 16:36:01 +0100") Message-ID: <87il7k9jv6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 66344-done Cc: 66344-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > * gnu/system/shadow.scm (%default-bashrc): Add an alias for 'ip' that enables > output colorization. Applied, thanks, Mathieu From unknown Thu Aug 14 21:56:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 03 Nov 2023 11:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator