GNU bug report logs -
#75803
Multiple instances of bash-completion on foreign distros
Previous Next
To reply to this bug, email your comments to 75803 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#75803
; Package
guix
.
(Fri, 24 Jan 2025 10:51:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Einar Largenius <jaadu <at> lysator.liu.se>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 24 Jan 2025 10:51:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
I currently run guix on a foreign distro (Fedora 41). I have noticed that bash-completion installed in my user profile wont load. The "native" version of bash-completion installed through dnf wont find completion scripts specific to Guix and also prevents sourcing any later instances of bash-completion. So additional completion-scripts wont be able to load.
The workaround is to load the guix script before any system installed version of it has a chance to load.
--8<---------------cut here---------------start------------->8---
# ~/.bashrc
[ -f "$HOME/.guix-profile/etc/profile.d/bash_completion.sh" ] && \
. "$HOME/.guix-profile/etc/profile.d/bash_completion.sh"
[ -f /etc/bashrc ] && . /etc/bashrc
--8<---------------cut here---------------end--------------->8---
It took me a while to figure out. Perhaps a mention of it in the manual would be useful?
--
Med vänliga hälsningar Einar
This bug report was last modified 70 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.