Skip to content

Commit

Permalink
Merge pull request #651 from jordanrastrick/yarn-script-file-completion
Browse files Browse the repository at this point in the history
fall back to file completion for yarn scripts
  • Loading branch information
okapia committed Oct 1, 2019
2 parents 09ab278 + 4add7f4 commit 922eee0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/_yarn
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ _yarn() {

run)
_arguments \
'1: :_yarn_scripts'
'1: :_yarn_scripts' \
'*:: :_default'
;;

tag)
Expand All @@ -266,6 +267,10 @@ _yarn() {
_arguments \
'1:query:_files'
;;

*)
_default
;;
esac
;;
esac
Expand Down

0 comments on commit 922eee0

Please sign in to comment.