completions/yarn: Don't offer files for yarn run

Pretty sure that, like npm, that's not valid.

[ci skip]
This commit is contained in:
Fabian Homborg
2019-03-09 18:03:19 +01:00
parent b0e9405b11
commit bf926fd6c4

View File

@@ -84,7 +84,7 @@ for k,v in data["scripts"].items(): print(k + "\t" + v[:18])' <package.json 2>/d
end
# Scripts can be used like normal subcommands, or with `yarn run SCRIPT`.
complete -c yarn -n '__fish_use_subcommand; or __fish_seen_subcommand_from run' -a "(__fish_yarn_run)"
complete -c yarn -n '__fish_use_subcommand; or __fish_seen_subcommand_from run' -xa "(__fish_yarn_run)"
complete -f -c yarn -n '__fish_use_subcommand' -a tag
complete -f -c yarn -n '__fish_seen_subcommand_from tag' -a 'add rm ls'