From 45b883a9d33ff3bfd0bdb9c9eeea4d64eb73e10c Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Thu, 8 May 2025 09:15:33 +0900 Subject: system: Migrate sourcing bash_completion.sh to etc-bashrc-d-service-type. * gnu/system.scm (operating-system-etc-service): Remove block sourcing bash_completion.sh. (%base-packages-interactive): Delete bash-completion. * gnu/services.scm (%default-etc-bashrc-d-files): New variable, which includes the bash_completion.sh file. (etc-bashrc-d-service-type): Use it. * doc/guix.texi (Service Reference): Update documentation. Change-Id: I2223a5f96f5d761148badc6be29e1c5c80465a1d --- doc/guix.texi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index 38a75b73ceb..fa44f37c050 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -47685,9 +47685,11 @@ create files under @file{/etc/bashrc.d}. It takes as value a list of file-like objects, as can be produced with @code{local-file}, @code{plain-file}, etc. Note that provided files whose file names do not end with @file{.sh} are @emph{not} added to @file{/etc/profile.d/} -and are silently dropped. Package objects can also be provided directly -to have their @file{etc/bashrc.d/*.sh} prefixed files added. An example -usage may look like: +and are silently dropped. The default value is made available via the +@var{%default-etc-bashrc-d-files} variable for users to extended. +Package objects can also be provided directly to have their +@file{etc/bashrc.d/*.sh} prefixed files added. An example usage may +look like: @example (use-package-modules gnome) ;for the `vte' package -- cgit v1.3