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