diff --git a/shell/completion.bash b/shell/completion.bash index 12baaf05..1eefd099 100644 --- a/shell/completion.bash +++ b/shell/completion.bash @@ -53,6 +53,7 @@ __fzf_orig_completion() { comp="${BASH_REMATCH[1]}" f="${BASH_REMATCH[2]}" cmd="${BASH_REMATCH[3]}" + [[ "$f" = _fzf_* ]] && continue printf -v "_fzf_orig_completion_${cmd//[^A-Za-z0-9_]/_}" "%s" "${comp} %s ${cmd} #${f}" if [[ "$l" = *" -o nospace "* ]] && [[ ! "$__fzf_nospace_commands" = *" $cmd "* ]]; then __fzf_nospace_commands="$__fzf_nospace_commands $cmd "