[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[completion] Completion scripts not loaded from ~/.guix-profile/etc/prof
From: |
YOANN P |
Subject: |
[completion] Completion scripts not loaded from ~/.guix-profile/etc/profile |
Date: |
Fri, 11 Oct 2019 18:15:56 +0000 |
Hi guix,
Not sure if it needs to be add to the guix documentation or directly included
in "~/.guix-profile/etc/profile" generation process,
but the completion scripts provided by packages seem not to be loaded.
For example, if i only install the package "git", the completion scripts for
"git" reside in "~/.guix-profile/etc/bash_completion.d/git".
But there is no loading instructions for those files in
"~/.guix-profile/etc/profile".
So after sourcing "~/.guix-profile/etc/profile", a user need to loop over files
in "~/.guix-profile/etc/bash_completion.d/"
and "~/.guix-profile/share/bash-completion" to source them manually because
native bash/bash-completion from the user distribution
are not aware of the new completion scripts available in
"~/.guix-profile/etc/bash_completion.d/" and
"~/.guix-profile/share/bash-completion".
I think a "bash loop" need to be added for this purpose in the generation of
"~/.guix-profile/etc/profile" and in the meantime add a section for this
inside "2.6 Application Setup" section be cause i didn't find any instructions
about this on the documentation.
Regards,
Yoann
- [completion] Completion scripts not loaded from ~/.guix-profile/etc/profile,
YOANN P <=