mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
system: Source scripts from the /etc/bashrc.d directory.
* gnu/system.scm (operating-system-etc-service): <bashrc>: Source scripts from the /etc/bashrc.d directory. Change-Id: I27a20a8eae5d736f32e0df55a68529d9bb613b7a
This commit is contained in:
parent
2345e87c35
commit
42245040f6
1 changed files with 8 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
|||
;;; Copyright © 2020 Danny Milosavljevic <dannym@scratchpost.org>
|
||||
;;; Copyright © 2020, 2021 Brice Waegeneire <brice@waegenei.re>
|
||||
;;; Copyright © 2020 Florian Pelz <pelzflorian@pelzflorian.de>
|
||||
;;; Copyright © 2020, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
;;; Copyright © 2020, 2022, 2025 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
;;; Copyright © 2020, 2023 Janneke Nieuwenhuizen <jannek@gnu.org>
|
||||
;;; Copyright © 2020, 2022, 2025 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
|
||||
|
@ -1162,7 +1162,13 @@ then
|
|||
# completion loader that searches its own completion files as well
|
||||
# as those in ~/.guix-profile and /run/current-system/profile.
|
||||
source /run/current-system/profile/etc/profile.d/bash_completion.sh
|
||||
fi\n")))
|
||||
fi
|
||||
|
||||
for i in /etc/bashrc.d/*.sh; do
|
||||
[[ -r $i ]] && source \"$i\"
|
||||
done
|
||||
unset i
|
||||
")))
|
||||
(service etc-service-type
|
||||
`(("os-release" ,os-release)
|
||||
("services" ,(file-append net-base "/etc/services"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue