-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FZF_COMPLETION_TRIGGER doesn't use FZF_DEFAULT_COMMAND as input #406
Comments
Unfortunately it's not configurable at the moment. |
Ok, thanks! That explained it clearly enough that it was easy to add locally. I see why you haven't decided how to configure it yet! :) |
Alright, I'll close this for now. |
Notes: - You can now override _fzf_compgen_path and _fzf_compgen_dir functions to use custom commands such as ag instead of find for listing completion candidates. - The first argument is the base path to start traversal - Removed file-only completion in bash, i.e. _fzf_file_completion. Maintaining a list of commands that only expect files, not directories, is cumbersome (there are too many) and error-prone. TBD: - Added $FZF_COMPLETION_DIR_COMMANDS to customize the list of commands which use directory-only completion. The default is "cd pushd rmdir". Not sure if it's the best approach to address the requirement, I'll leave it as an undocumented feature. Related: #406 (@thomcom), #456 (@frizinak)
I just encountered this issue too. Would be nice to have a solution. Using Most of all though thanks for |
@jasonkuhrt This is an old issue. See https://github.com/junegunn/fzf#settings |
I've updated my
FZF_DEFAULT_COMMAND='ag -g ""'
in order to respect.gitignore
. It works fine usingCTRL-T
, but if I use**<TAB>
completion, I still seenode_modules
. How do I useag -g ""
withFZF_COMPLETION_TRIGGER
?The text was updated successfully, but these errors were encountered: