Skip to content

fzf integration: failed to find "fzf" base directory #441

Answered by akinomyoga
mcepl asked this question in Q&A
Discussion options

You must be logged in to vote

So I expect the main package fzf provides /shell directory somewhere such as /usr/share/fzf/shell to allow the users wanting finer control to use them as an option.

For the users who don't want to (or don't know how to) edit ~/.bashrc, the package fzf-bash-completion (or maybe better named as fzf-bash-integration?) might still offer a single-line script if [[ ${BASH_VERSION-} ]]; then eval "$(fzf --bash)"; fi at /etc/profile.d/fzf-bash.sh, etc. (Note that this would be incompatible with ble.sh. The user still needs to configure fzf's integration with blesh without using the fzf-bash-completion package.)

then in the beginning of ~/.config/blesh/init.sh I would have just eval $(fzf --bash)?

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@akinomyoga
Comment options

@akinomyoga
Comment options

Comment options

You must be logged in to vote
5 replies
@akinomyoga
Comment options

@akinomyoga
Comment options

Answer selected by mcepl
@mcepl
Comment options

@akinomyoga
Comment options

@akinomyoga
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants