Skip to content
Discussion options

You must be logged in to vote

The FZF_DEFAULT_COMMAND variable sets the default command when input is tty. This script sets ripgrep as the file search command (fzf just filters the returned list). To achieve what you want, change the ripgrep command to rg --hidden --follow --no-ignore --column --line-number --no-heading --color=always --smart-case %q $(pwd) || true" "$rg_pat".

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by moritzdietz
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