From 57f7963eeefb42bb5d6efc97803d34b646dd767c Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 20 Nov 2013 14:02:29 +0900 Subject: [PATCH] Remove obsolete lines --- fzf-completion.bash | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fzf-completion.bash b/fzf-completion.bash index 68b28de..e52a8f9 100644 --- a/fzf-completion.bash +++ b/fzf-completion.bash @@ -31,7 +31,7 @@ _fzf_opts_completion() { } _fzf_generic_completion() { - local cur prev opts base matches ignore + local cur prev opts base matches COMPREPLY=() FZF_COMPLETION_TRIGGER=${FZF_COMPLETION_TRIGGER:-**} cur="${COMP_WORDS[COMP_CWORD]}" @@ -41,7 +41,6 @@ _fzf_generic_completion() { base=${base%/} eval base=$base - ignore=${FZF_COMPLETION_IGNORE:-*/.git/*} find_opts="-name .git -prune -o -name .svn -prune -o" if [ -z "$base" -o -d "$base" ]; then matches=$(find ${base:-*} $1 2> /dev/null | fzf $FZF_COMPLETION_OPTS $2 | while read item; do