fall back to file completion for yarn scripts

This commit is contained in:
Jordan Rastrick authored and GitHub committed 2019-09-26 16:59:14 +10:00
1 parent a3fab81aec
commit 1000d2ea8b
1 file changed
+7 -1
+7 -1
View File
@@ -240,7 +240,8 @@ _yarn() {
run) run)
_arguments \ _arguments \
'1: :_yarn_scripts' '1: :_yarn_scripts' \
'*:: :_files'
;; ;;
tag) tag)
@@ -266,6 +267,11 @@ _yarn() {
_arguments \ _arguments \
'1:query:_files' '1:query:_files'
;; ;;
*)
_arguments \
'*:: :_files'
;;
esac esac
;; ;;
esac esac