summary refs log tree commit diff
path: root/gnu/home
diff options
context:
space:
mode:
authorJason Darby <jasonkdarby@gmail.com>2024-02-21 23:10:15 -0500
committerHilton Chain <hako@ultrarare.space>2024-03-27 22:25:19 +0800
commit0b38c9401bebb6b87093555ef3768a8e1855c938 (patch)
treea2a8763e47c103b174d8ca4419968595f569a8be /gnu/home
parentb5e359eb07fc9de114ad2f7b372aa2f471296ab7 (diff)
downloadguix-0b38c9401bebb6b87093555ef3768a8e1855c938.tar.gz
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>
Diffstat (limited to 'gnu/home')
-rw-r--r--gnu/home/services/shells.scm4
1 files 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)))))