Skip to content

Commit f3ae706

Browse files
committed
fix(medusa): filter completions by the current word cur
1 parent a710a31 commit f3ae706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

completions/medusa

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ _comp_cmd_medusa()
1616
;;
1717
-*M)
1818
COMPREPLY=($(compgen -W "$("$1" -d | awk '/^ +\+/ {print $2}' |
19-
command sed -e 's/\.mod$//')"))
19+
command sed -e 's/\.mod$//')" -- "$cur"))
2020
return
2121
;;
2222
esac

0 commit comments

Comments
 (0)