mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 15:01:16 -03:00
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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user