[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57498: bash-completion completion functions not loaded when using gu
From: |
wolf |
Subject: |
bug#57498: bash-completion completion functions not loaded when using guix home |
Date: |
Sat, 18 Mar 2023 12:19:19 +0100 |
Hi,
if anyone else runs into this before the core-updates merge happens, reasonably
simple solution without installing packages into other profiles (or system-wide)
seems to be to add following into services in home definition:
;; TODO: https://issues.guix.gnu.org/57498, should not be necessary after
;; core-updates merge
(simple-service 'guix-home-bash-completion home-bash-service-type
(home-bash-extension
(bashrc (list (plain-file "load-guix-home-bash-completion" "
for f in ~/.guix-home/profile/etc/bash_completion.d/*
~/.guix-home/profile/share/bash-completion/completions/*; do
[ -r \"$f\" ] && . \"$f\"
done")))))
Leaving it here since it might be useful to someone.
W.
--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#57498: bash-completion completion functions not loaded when using guix home,
wolf <=