Skip to content

Commit

Permalink
fix(make): do not strip dirnames for COMP_TYPE=37 (%) and 42 (*)
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Dec 22, 2022
1 parent b352d4c commit 58ad8de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/make
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ _make()
# recognise that possible completions are only going to be displayed
# so only the base name is shown
local mode=--
if ((COMP_TYPE != 9)); then
if ((COMP_TYPE != 9 && COMP_TYPE != 37 && COMP_TYPE != 42)); then
mode=-d # display-only mode
fi

Expand Down

0 comments on commit 58ad8de

Please sign in to comment.