From b6a6f585d28132620c4f3a57e61b737942356057 Mon Sep 17 00:00:00 2001 From: Julien Nicoulaud Date: Sun, 18 Sep 2011 21:09:30 +0200 Subject: [PATCH] #5 play: use same layout as other compdefs --- _play | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/_play b/_play index 89b903d..5a411f6 100644 --- a/_play +++ b/_play @@ -43,9 +43,11 @@ # ------------------------------------------------------------------------------ +local context curcontext="$curcontext" state line +typeset -A opt_args + _play() { - local context curcontext="$curcontext" state line ret=1 - typeset -A opt_args + local ret=1 _arguments -C \ '1: :_play_cmds' \