diff options
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Builtins/_vars | 2 | ||||
-rw-r--r-- | Completion/User/_make | 12 |
2 files changed, 6 insertions, 8 deletions
diff --git a/Completion/Builtins/_vars b/Completion/Builtins/_vars index 2b4749fcd..2758f3de2 100644 --- a/Completion/Builtins/_vars +++ b/Completion/Builtins/_vars @@ -22,5 +22,3 @@ if [[ $PREFIX = *\[* ]]; then else _tags parameters && _parameters fi - - diff --git a/Completion/User/_make b/Completion/User/_make index 2e967e64e..99adb7133 100644 --- a/Completion/User/_make +++ b/Completion/User/_make @@ -18,11 +18,11 @@ else file='' fi - [[ -n "$file" ]] && _wanted targets expl 'make target' && - compadd "$expl[@]" - \ - $(awk '/^[a-zA-Z0-9][^\/ \t]+:/ {print $1} - /^\.include *<bsd\.port\.(subdir\.|pre\.)?mk>/ || /^\.include *".*mk\/bsd\.pkg\.(subdir\.)?mk"/ { - print "fetch fetch-list extract patch configure build install reinstall deinstall package describe checkpatch checksum makesum" }' \ - FS=: $file) && ret=0 + [[ -n "$file" ]] && _wanted targets expl 'make target' && + compadd "$expl[@]" - \ + $(awk '/^[a-zA-Z0-9][^\/ \t]+:/ {print $1} + /^\.include *<bsd\.port\.(subdir\.|pre\.)?mk>/ || /^\.include *".*mk\/bsd\.pkg\.(subdir\.)?mk"/ { + print "fetch fetch-list extract patch configure build install reinstall deinstall package describe checkpatch checksum makesum" }' \ + FS=: $file) && ret=0 (( ret )) && { compset -P 1 '*\='; _files } fi |