From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25577 invoked by alias); 30 Sep 2015 16:19:46 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 36720 Received: (qmail 29894 invoked from network); 30 Sep 2015 16:19:45 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=V3HSxzO/k8Kd+96Z3czH3jfn0o2tQrYlPyGdAn+/esE=; b=bYWzv5dfk3G8sjQuwdKOiZW5zzrm/7Xs5J+wLOhQd0BzKtMh28qVZh8Lz1+ygrfgXm 9EJDNtueMBbI1iB0/QCnIRSS6WYSdo9kRtroHS9xg8VLsFTZjD+DBjmGvAqxmk41yY8p +vZ/xoY4GAPPygRAmCgwgbKtGu3OUUOYoxIxzmbnb/B0AD2bBDdZZ5jvQvesiRbDwhwB 0w+rtlHLS9razY1RB2qIHQDhNXWfmceuMcVczwFNm3XsBUxct2rfbwqDK5oVP0btM3AH x4OPdJg/impeN2R6MJWamPwI8Kpr4SUqIMO/iOOo8Hj54C/3bXmnVqJsSdvb9KQ+fOnQ 9gTA== X-Gm-Message-State: ALoCoQlRfmzjISf2G6A/Thw6Lc7tYRdLcUVflDVm5j5fmUchftOM5JYqwD5GJTmB6seWxoe2mRxc X-Received: by 10.60.58.67 with SMTP id o3mr3031813oeq.48.1443629981992; Wed, 30 Sep 2015 09:19:41 -0700 (PDT) From: Bart Schaefer Message-Id: <150930091939.ZM22628@torch.brasslantern.com> Date: Wed, 30 Sep 2015 09:19:39 -0700 In-Reply-To: <5AB853BF-EBC6-4F61-BDBC-66604DCE926B@kba.biglobe.ne.jp> Comments: In reply to "Jun T." "Re: [PATCH] complete two or more options for zsh" (Oct 1, 1:03am) References: <150922223902.ZM30528@torch.brasslantern.com> <91D49604-A261-46A4-95BC-624420629B84@kba.biglobe.ne.jp> <150925100303.ZM3552@torch.brasslantern.com> <5AB853BF-EBC6-4F61-BDBC-66604DCE926B@kba.biglobe.ne.jp> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: [PATCH] complete two or more options for zsh MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Oct 1, 1:03am, Jun T. wrote: } Subject: Re: [PATCH] complete two or more options for zsh } } A few additions to _zsh: } support -s and -b, and offer files for script args. Probably the ideal way to complete script args is to use "compset -n" to simulate the script name appearing in command position, and then call _normal. This may require use of a ->state action so that it can be handled after _arguments returns.