diff --git a/completions/make b/completions/make index aa19b242..eac0ac45 100644 --- a/completions/make +++ b/completions/make @@ -1,11 +1,66 @@ # bash completion for GNU make -*- shell-script -*- +function _make_target_extract_script() +{ + local prefix=$(printf "%s\n" "$1" | sed 's/[][\.*^$(){}?+|/]/\\&/g') + + cat <