Skip to content

Commit

Permalink
fix(medusa): filter completions by the current word cur
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed May 21, 2023
1 parent a710a31 commit f3ae706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/medusa
Expand Up @@ -16,7 +16,7 @@ _comp_cmd_medusa()
;;
-*M)
COMPREPLY=($(compgen -W "$("$1" -d | awk '/^ +\+/ {print $2}' |
command sed -e 's/\.mod$//')"))
command sed -e 's/\.mod$//')" -- "$cur"))
return
;;
esac
Expand Down

0 comments on commit f3ae706

Please sign in to comment.