Skip to content

Commit 27adc3e

Browse files
committed
fix(make): work around custom IFS
1 parent d4ae526 commit 27adc3e

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
@@ -112,7 +112,7 @@ _comp_cmd_make()
112112
cur=${cur#*=}
113113
local diropt=""
114114
[[ ${prev,,} == *dir?(ectory) ]] && diropt=-d
115-
_comp_compgen_filedir $diropt
115+
_comp_compgen_filedir ${diropt:+"$diropt"}
116116
else
117117
# before we check for makefiles, see if a path was specified
118118
# with -C/--directory

0 commit comments

Comments
 (0)