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
+7 -1
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