akinomyoga / blesh-contrib

Source of settings for Bash Line Editor https://github.com/akinomyoga/ble.sh (for ble-0.4+)
BSD 3-Clause "New" or "Revised" License
32 stars 8 forks source link

fzf-git branches menu doesn't work #14

Closed dgudim closed 10 months ago

dgudim commented 10 months ago

After importing fzf-git and pressing C-g C-b I am greeted with this:

/usr/share/blesh/contrib/integration/fzf-git.bash: line 9: ble-import: command not found
/usr/share/blesh/contrib/integration/fzf-git.bash: line 11: return: can only `return' from a function or sourced script
/usr/share/blesh/contrib/integration/fzf-git.bash: line 202: ble/function#try: No such file or directory
/usr/share/blesh/contrib/integration/fzf-git.bash: line 166: ble-bind: command not found
/usr/share/blesh/contrib/integration/fzf-git.bash: line 166: ble-bind: command not found
/usr/share/blesh/contrib/integration/fzf-git.bash: line 166: ble-bind: command not found
/usr/share/blesh/contrib/integration/fzf-git.bash: line 166: ble-bind: command not found
/usr/share/blesh/contrib/integration/fzf-git.bash: line 166: ble-bind: command not found
/usr/share/blesh/contrib/integration/fzf-git.bash: line 166: ble-bind: command not found

Here is my import:

ble-import -d integration/fzf-completion
ble-import -d integration/fzf-key-bindings
_ble_contrib_fzf_git_config=key-binding:sabbrev
ble-import -d integration/fzf-git

I am using Arch and blesh-git from the AUR

akinomyoga commented 10 months ago

Thanks for the report. I added a fix in commit 1ec7468. Could you check if it works now in the latest version? You can update ble.sh by running ble-update in a ble.sh session.

dgudim commented 10 months ago

It works! Thanks

akinomyoga commented 10 months ago

Thank you for checking!