Skip to content

Enable fzf when --fzf-bat-preview is passed without --fzf#86

Open
iloveitaly wants to merge 1 commit into
dtrifiro:mainfrom
iloveitaly:enable-fzf-when-bat-option-is-enabled
Open

Enable fzf when --fzf-bat-preview is passed without --fzf#86
iloveitaly wants to merge 1 commit into
dtrifiro:mainfrom
iloveitaly:enable-fzf-when-bat-option-is-enabled

Conversation

@iloveitaly
Copy link
Copy Markdown

Previously, --fzf-bat-preview only worked if --fzf was also specified.

Now passing --fzf-bat-preview alone is sufficient to trigger fzf
selection.

Previously, --fzf-bat-preview only worked if --fzf was also specified.
Now passing --fzf-bat-preview alone is sufficient to trigger fzf
selection. Adds a graceful fallback (with UserWarning) when bat is
unavailable.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant