From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27978 invoked by alias); 30 Mar 2015 03:55:14 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20047 Received: (qmail 22191 invoked from network); 30 Mar 2015 03:55:12 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.2 Date: Mon, 30 Mar 2015 11:39:30 +0800 From: Han Pingtian To: zsh-user Subject: device cannot be completed after "ip link show dev" Message-ID: <20150330033930.GB2856@localhost.localdomain> Mail-Followup-To: zsh-user MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15033003-0029-0000-0000-00000253E00A Hi, Although in _ip() the "link_show_cmds" is defined to 188 local -a link_show_cmds 189 _regex_words link-show-commands 'link show commands' \ 190 'dev:specify device:$subcmd_dev' \ 191 'up:limit display to running devices' 192 link_show_cmds=("(" $subcmd_dev "|" ")" "$reply[@]" "#" ) 193 but the device cannot be completed after "ip link show dev": % ip link show dev link show commands dev -- specify device up -- limit display to running devices Only "dev" and "up" listed. It looks like something wrong? Thanks!