#5 play: use same layout as other compdefs

This commit is contained in:
Julien Nicoulaud 2011-09-18 21:09:30 +02:00
parent 5c59e80761
commit b6a6f585d2
1 changed files with 4 additions and 2 deletions

6
_play
View File

@ -43,10 +43,12 @@
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
_play() { local context curcontext="$curcontext" state line
local context curcontext="$curcontext" state line ret=1
typeset -A opt_args typeset -A opt_args
_play() {
local ret=1
_arguments -C \ _arguments -C \
'1: :_play_cmds' \ '1: :_play_cmds' \
'*::arg:->args' \ '*::arg:->args' \