Merge pull request #651 from jordanrastrick/yarn-script-file-completion

fall back to file completion for yarn scripts
This commit is contained in:
okapia 2019-10-01 08:39:33 +02:00 committed by GitHub
commit 922eee0706
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -240,7 +240,8 @@ _yarn() {
run)
_arguments \
'1: :_yarn_scripts'
'1: :_yarn_scripts' \
'*:: :_default'
;;
tag)
@ -266,6 +267,10 @@ _yarn() {
_arguments \
'1:query:_files'
;;
*)
_default
;;
esac
;;
esac