diff --git a/src/_yarn b/src/_yarn index 382f58a..61a3d9a 100644 --- a/src/_yarn +++ b/src/_yarn @@ -240,7 +240,8 @@ _yarn() { run) _arguments \ - '1: :_yarn_scripts' + '1: :_yarn_scripts' \ + '*:: :_files' ;; tag) @@ -266,6 +267,11 @@ _yarn() { _arguments \ '1:query:_files' ;; + + *) + _arguments \ + '*:: :_files' + ;; esac ;; esac