Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#49148 - [fzf] fzf.bash is not sourced
Attached to Project:
Community Packages
Opened by Samgarr (Samgarr) - Saturday, 30 April 2016, 09:22 GMT
Last edited by Pierre Neidhardt (Ambrevar) - Wednesday, 04 May 2016, 23:21 GMT
Opened by Samgarr (Samgarr) - Saturday, 30 April 2016, 09:22 GMT
Last edited by Pierre Neidhardt (Ambrevar) - Wednesday, 04 May 2016, 23:21 GMT
|
DetailsDescription:
fzf.bash profile is not sourced, because /etc/profile source only *.sh profiles in /etc/profile.d. After renaming fzf.bash to fzf.sh works okay. Additional info: $ uname -a Linux wrk 4.5.1-1-ARCH #1 SMP PREEMPT Thu Apr 14 19:19:32 CEST 2016 x86_64 GNU/Linux $ pacman -Qi fzf Name : fzf Version : 0.12.0-1 Steps to reproduce: |
This task depends upon
The OP claims it works. One of us is making a mistake.
Anyhow, I believe that fzf.bash and fzf.zsh should not belong to /etc/profile.d which is meant to be generic and sourced by different shells. /etc/profile.d is usually needed to update PATH automatically.
I'd rather move fzf.bash and fzf.zsh to their respective /usr/share folders.
What would be those folders by the way? There is /usr/share/zsh, but no "keybindings" subfolder. I do not know any such folder for bash.
One clue: this Xsession script is a "/bin/sh" script, while fzf.bash calls for the full bash capabilities. Could this be the issue? I cannot test it just now, will do later.