diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2013-11-20 14:02:29 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2013-11-20 14:02:29 +0900 |
| commit | 57f7963eeefb42bb5d6efc97803d34b646dd767c (patch) | |
| tree | d7f148d029c2fb5cacd5e81ad061c292a7ace461 /fzf-completion.bash | |
| parent | 2fa21e5dd64bd8e9e030785a4c010567cfa60712 (diff) | |
| download | fzf-57f7963eeefb42bb5d6efc97803d34b646dd767c.tar.gz | |
Remove obsolete lines
Diffstat (limited to 'fzf-completion.bash')
| -rw-r--r-- | fzf-completion.bash | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fzf-completion.bash b/fzf-completion.bash index 68b28de7..e52a8f94 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 |
