Skip to content

FZF Install #2

@vikrambombhi

Description

@vikrambombhi

Need to setup FZF properly. After installing FZF the following should be added to .bashrc

# Set FZF path                                                                                                                                                                                                     
[ -f ~/.fzf.bash ] && source ~/.fzf.bash                                                                                                                                                                           
                                                                                                                                                                                                                   
# --files: List files that would be searched but do not search                                                                                                                                                     
# --no-ignore: Do not respect .gitignore, etc...                                                                                                                                                                   
# --hidden: Search hidden files and folders                                                                                                                                                                        
# --follow: Follow symlinks                                                                                                                                                                                        
# --glob: Additional conditions for search (in this case ignore everything in the .git/ folder)                                                                                                                    
export FZF_DEFAULT_COMMAND='ripgrep.rg --files --no-ignore --hidden --follow --glob "!.git/*"'

Also, need to install ripgrep ....

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions