Skip to content

Commit 33f3ef3

Browse files
l3nticularscop
authored andcommitted
Fix bug in 'make' completion when using BSD sed (#108)
On OSX, using BSD sed, this error occurs when trying to complete a space, this error occurs: 'make sed: 46: /dev/fd/63: extra characters at the end of d command' This does not occur with the above change or with gsed. Fixes #92
1 parent 58aaad3 commit 33f3ef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

completions/make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ EOF
6969
# don't complete with hidden targets unless we are doing a partial completion
7070
if [[ -z "${prefix_pat}" || "${prefix_pat}" = */ ]]; then
7171
cat <<EOF
72-
/^${prefix_pat}[^a-zA-Z0-9]/d # convention for hidden tgt
72+
/^${prefix_pat}[^a-zA-Z0-9]/d; # convention for hidden tgt
7373
EOF
7474
fi
7575

0 commit comments

Comments
 (0)