[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/17: home: services: Fix bash aliases without guix-defaults.
From: |
guix-commits |
Subject: |
12/17: home: services: Fix bash aliases without guix-defaults. |
Date: |
Fri, 18 Mar 2022 11:05:29 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 3a91c9254798b3555c1ed4cddd07911afe4e3839
Author: angryrectangle <angryrectangle@cock.li>
AuthorDate: Sat Mar 12 15:28:15 2022 -0500
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.
* doc/guix.texi (Shells Home Services): Adjust accordingly.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
doc/guix.texi | 2 +-
gnu/home/services/shells.scm | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index cb09978fab..46e65129ae 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -38349,7 +38349,7 @@ The Bash package to use.
@item @code{guix-defaults?} (default: @code{#t}) (type: boolean)
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.
@item @code{environment-variables} (default: @code{()}) (type: alist)
Association list of environment variables to set for the Bash session. The
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)
- branch master updated (3e34b01b70 -> 2fb4304ee7), guix-commits, 2022/03/18
- 01/17: gnu: petsc-openmpi: Fix compilation with Scotch 7.0., guix-commits, 2022/03/18
- 11/17: gnu: emacs-osm: Record the absolute file name of 'curl'., guix-commits, 2022/03/18
- 09/17: gnu: Add emacs-osm., guix-commits, 2022/03/18
- 04/17: ui: 'show-what-to-build' highlights "would be downloaded" headings., guix-commits, 2022/03/18
- 06/17: home: services: Export record type accessors., guix-commits, 2022/03/18
- 05/17: graph: Factorize 'lookup-backend'., guix-commits, 2022/03/18
- 10/17: gnu: emacs-osm: Fetch source over Git., guix-commits, 2022/03/18
- 08/17: guix system: Call 'export-graph' with the right port argument., guix-commits, 2022/03/18
- 07/17: guix home: Implement the 'extension-graph' and 'shepherd-graph' actions., guix-commits, 2022/03/18
- 12/17: home: services: Fix bash aliases without guix-defaults.,
guix-commits <=
- 14/17: gnu: feh, newsboat: Inline top-level reference to 'curl'., guix-commits, 2022/03/18
- 02/17: gnu: petsc-openmpi: Remove input labels., guix-commits, 2022/03/18
- 03/17: ui: 'show-what-to-build' highlights "The following [...] will be built"., guix-commits, 2022/03/18
- 15/17: gnu: Add ckb-next., guix-commits, 2022/03/18
- 17/17: gnu: bitlbee-purple: Use 'modify-inputs'., guix-commits, 2022/03/18
- 16/17: gnu: bitlbee-purple: Add search path for "PURPLE_PLUGIN_PATH"., guix-commits, 2022/03/18
- 13/17: gnu: ghc-optparse-applicative@0.15.1.0: Avoid circular top-level references., guix-commits, 2022/03/18