Skip to content

How to show command options only with preceding "-"? #436

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

You must be logged in to vote

You seem to have hit a bug of Fzf in the specific version you use, 0.48.1. First, I could reproduce the problem without ble.sh with the following bashrc:

source /usr/share/bash-completion/bash_completion
eval "$(fzf --bash)"
bind 'set show-all-if-ambiguous on'

Then, I checked the difference in the debug trace produced by set -x between Fedora and Arch. It turned out the completion scripts are different. Then, I checked the different versions of fzf. The commit junegunn/fzf@0740ef7 (deployed in 0.48.1) seems to have introduced the bug, and the commit junegunn/fzf@dff8652 (deployed in 0.49.0) seems to have fixed the problem. This is the report upstream: junegunn/fzf#3702.

Replies: 2 comments 20 replies

Comment options

You must be logged in to vote
18 replies
@moovinzoo
Comment options

@moovinzoo
Comment options

@moovinzoo
Comment options

@akinomyoga
Comment options

Answer selected by moovinzoo
@moovinzoo
Comment options

@akinomyoga
Comment options

Comment options

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

@akinomyoga
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
External Problem/Bug Problems/Bugs of other projects
2 participants