From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iAuPGRSHHWV0EQAA9RJhRA:P1 (envelope-from ) for ; Wed, 04 Oct 2023 17:39:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iAuPGRSHHWV0EQAA9RJhRA (envelope-from ) for ; Wed, 04 Oct 2023 17:39:00 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2F6A953FDE for ; Wed, 4 Oct 2023 17:39:00 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696433940; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=9DdRy0KgZlfhzkm0qdL2J+HSfGkNxsb3McTJsPSELJg=; b=UbxGpKHfsqrjNDuQ5O1XiLcNV2P3eSZsDE8GaSFtsPP0tgDb5mfaz6Z5Ml7wdw5Am9Jr7F qaymZIkSJT1ah4/YyIeK9127lFEpTQbpGbMLIRkNaTeGkKbaSVYvPvWvlM/MVB5KelH96E bf41Od8H6JN4W6oG+DTGbrR360JKinlxfDbT5833yOimHRGynBJR3kJYL0YEyKFNwB8ewj uippgPfnSVgQQ1vcGO7y26yJ2P3PsZxxn3H8mAkUx0g9OFRxjrXX8waMwuexE4tneQPq4K MTyZ8jpYSanzKxmy0xDMsmfVmOI0JSLRwr1Wb8XdZC7zFwi+ryojYsqsubwVgA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696433940; a=rsa-sha256; cv=none; b=I1Dc4LQqmKvq0fFODCxubIpwnuCMQQCOOspwiJLI4P0aBOyc+mK0z6U/cgJ34b+Z586cgP QEDeasKJzQaEOrnPhCLDSTk2mRjpw8Yw7om0a087kw+CUeMtFzVnFMHhgxn+dOBIfE4oK5 xF+TpMCZdyjNJa32ltupm7tghglbyfTz/JwDhAN0J7KSbMsPg8/Bxi1I3xPBWMY6XgPHS6 kQHnGSQZZVAiYtTfqYyR0N3zPku6vicWdDA8s+kN6WvfOsNedq8G74ruDTFmmSidyQnvMR E7mRT7P/sKhx2QD06aX2poFA9n+R0HoUY8Pm8Y08wZj4PMU/LIWUlc9NRH1Iug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qo3xX-0000AY-LL; Wed, 04 Oct 2023 11:38:47 -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 1qo3xU-00009x-SL for guix-patches@gnu.org; Wed, 04 Oct 2023 11:38:44 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qo3xU-00040G-JI for guix-patches@gnu.org; Wed, 04 Oct 2023 11:38:44 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qo3xl-0000Yo-SH for guix-patches@gnu.org; Wed, 04 Oct 2023 11:39:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66344] [PATCH] system: Modify bash skeleton to colorize 'ip' output. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 04 Oct 2023 15:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66344 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66344@debbugs.gnu.org Cc: Bruno Victal X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16964339362139 (code B ref -1); Wed, 04 Oct 2023 15:39:01 +0000 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -4.72 X-Spam-Score: -4.72 X-Migadu-Queue-Id: 2F6A953FDE X-TUID: hqu1BgwFsE3B * 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