fall back to file completion for yarn scripts

This commit is contained in:
Jordan Rastrick 2019-09-26 16:59:14 +10:00 committed by GitHub
parent a3fab81aec
commit 1000d2ea8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -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