about summary refs log tree commit diff
path: root/configs/.zsh_profile
diff options
context:
space:
mode:
Diffstat (limited to 'configs/.zsh_profile')
-rw-r--r--configs/.zsh_profile5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/.zsh_profile b/configs/.zsh_profile
index 9f4ad6622bdb..5e76a9d800d3 100644
--- a/configs/.zsh_profile
+++ b/configs/.zsh_profile
@@ -48,6 +48,11 @@ source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
 stty -ixon
 
 
+# Allows FZF to search hidden files (excluding .git repository)
+export FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -l -g ""'
+export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
+
+
 # Run Autojump at shell startup
 [[ $(brew --prefix)/etc/profile.d/autojump.sh ]] && \
 . $(brew --prefix)/etc/profile.d/autojump.sh