diff --git a/bashprofile/.bash-profile.d/00-fzf-include-dotfiles-exclude-git.bash b/bashprofile/.bash-profile.d/00-fzf-include-dotfiles-exclude-git.bash new file mode 100644 index 0000000..2f9cbb1 --- /dev/null +++ b/bashprofile/.bash-profile.d/00-fzf-include-dotfiles-exclude-git.bash @@ -0,0 +1,2 @@ +export FZF_DEFAULT_COMMAND="rg --files --follow --no-ignore-vcs --hidden -g '!{**/node_modules/*,**/.git/*}'" +export FZF_CTRL_T_COMMAND="rg --files --follow --no-ignore-vcs --hidden -g '!{**/node_modules/*,**/.git/*}'" diff --git a/bashprofile/.bashrc b/bashprofile/.bashrc index bf4268f..fbce86e 100644 --- a/bashprofile/.bashrc +++ b/bashprofile/.bashrc @@ -122,6 +122,7 @@ fi . "$HOME/.bash-profile.d/fzf-completion.bash" . "$HOME/.bash-profile.d/fzf-key-bindings.bash" +. "$HOME/.bash-profile.d/00-fzf-include-dotfiles-exclude-git.bash" eval "$("$HOME/.dotfiles/starship-$(uname -m)" init bash)"