guix-commits
[Top][All Lists]
Advanced

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

07/07: home: services: bash: Reorder aliases.


From: guix-commits
Subject: 07/07: home: services: bash: Reorder aliases.
Date: Wed, 27 Mar 2024 10:41:30 -0400 (EDT)

hako pushed a commit to branch master
in repository guix.

commit 0b38c9401bebb6b87093555ef3768a8e1855c938
Author: Jason Darby <jasonkdarby@gmail.com>
AuthorDate: Wed Feb 21 23:10:15 2024 -0500

    home: services: bash: Reorder aliases.
    
    Reported in <https://issues.guix.gnu.org/67652>.
    
    * home/services/shells.scm (add-bash-configuration): Reorder aliases.
    
    Change-Id: I288856bb6befe378ca60ef78578acc069cb18532
    Reported-by: Atte Torri <atte.torri@universite-paris-saclay.fr>
    Signed-off-by: Hilton Chain <hako@ultrarare.space>
---
 gnu/home/services/shells.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/home/services/shells.scm b/gnu/home/services/shells.scm
index db82a7cff3..8fd1668b59 100644
--- a/gnu/home/services/shells.scm
+++ b/gnu/home/services/shells.scm
@@ -429,8 +429,8 @@ if [ -f ~/.bashrc ]; then source ~/.bashrc; fi
      ,@(list (file-if-not-empty
               'bashrc
               (if (home-bash-configuration-guix-defaults? config)
-                  (list (serialize-field 'aliases)
-                        (plain-file-content %default-bashrc))
+                  (list (plain-file-content %default-bashrc)
+                        (serialize-field 'aliases))
                   (list (serialize-field 'aliases))))
              (file-if-not-empty 'bash-logout)))))
 



reply via email to

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