summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorangryrectangle <angryrectangle@cock.li>2022-03-12 15:28:15 -0500
committerGuix Patches Tester <>2022-03-12 21:27:08 +0000
commitaecd7253c4306ebc9444a17b786f02d20a57e159 (patch)
tree3373ef5809b151273bb09ed9ea2a0c52205d854e
parent662f1f7bbac54d5762a06862b6174977003f46b9 (diff)
downloadguix-patches-aecd7253c4306ebc9444a17b786f02d20a57e159.tar
guix-patches-aecd7253c4306ebc9444a17b786f02d20a57e159.tar.gz
home: services: Fix bash aliases without guix-defaults.
* gnu/home/services/shells.scm: Fix bash aliases not being added if guix-defaults? was #f. Also fix inaccuracy in documentation about placement of defaults.
-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 ca7f4ac0ad..9a79db484a 100644
--- a/gnu/home/services/shells.scm
+++ b/gnu/home/services/shells.scm
@@ -324,7 +324,7 @@ source ~/.profile
(guix-defaults?
(boolean #t)
"Add sane defaults like reading @file{/etc/bashrc} and coloring the output of
-@command{ls} to the end of the @file{.bashrc} file.")
+@command{ls} to the top of the @file{.bashrc} file.")
(environment-variables
(alist '())
"Association list of environment variables to set for the Bash session. The
@@ -448,7 +448,7 @@ if [ -f ~/.bashrc ]; then source ~/.bashrc; fi
'bashrc
(if (home-bash-configuration-guix-defaults? config)
(list (serialize-field 'aliases) guix-bashrc)
- (list (serialize-field 'alises))))
+ (list (serialize-field 'aliases))))
(file-if-not-empty 'bash-logout)))))
(define (add-bash-packages config)