mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-12 18:10:47 +02:00
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
This commit is contained in:
parent
4c017ccfe5
commit
45b883a9d3
3 changed files with 12 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue