mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 23:11:14 -03:00
Dynamically invoke yarn completions so they aren't cached
Correct `-a (something)` to `-a '(something)'`
This commit is contained in:
@@ -49,7 +49,7 @@ function __yarn_list_packages
|
||||
end
|
||||
|
||||
|
||||
complete -f -c yarn -n '__fish_seen_subcommand_from remove' -a (set -l packages (__yarn_list_packages); echo $packages)
|
||||
complete -f -c yarn -n '__fish_seen_subcommand_from remove' -a '(__yarn_list_packages)'
|
||||
|
||||
complete -f -c yarn -n '__fish_use_subcommand' -a help
|
||||
|
||||
|
||||
Reference in New Issue
Block a user