Skip to content

Commit

Permalink
Manipulate fzf default command to ignore symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
FaBrand committed Mar 6, 2019
1 parent d63077c commit 9eaa5a9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .zsh/exports
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,8 @@ _gen_fzf_default_opts() {
#"
}
_gen_fzf_default_opts

# Don't find symlinks
# Especially useful that fzf does not got into the bazel-* directories
export FZF_DEFAULT_COMMAND="find * -path '*/\.*' -prune -o -type f -print -o -type l -o -type d -print 2> /dev/null"

0 comments on commit 9eaa5a9

Please sign in to comment.