Skip to content

Commit

Permalink
_completion_loader: Protect compgen from -* leakage (Debian: #769399)
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Nov 15, 2014
1 parent ed07b18 commit 32e6e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bash_completion
Original file line number Diff line number Diff line change
Expand Up @@ -1965,7 +1965,7 @@ _completion_loader()
done

# Need to define *something*, otherwise there will be no completion at all.
complete -F _minimal "$cmd" && return 124
complete -F _minimal -- "$cmd" && return 124
} &&
complete -D -F _completion_loader

Expand Down

0 comments on commit 32e6e49

Please sign in to comment.