Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
device cannot be completed after "ip link show dev"
- X-seq: zsh-users 20047
- From: Han Pingtian <hanpt@xxxxxxxxxxxxxxxxxx>
- To: zsh-user <zsh-users@xxxxxxx>
- Subject: device cannot be completed after "ip link show dev"
- Date: Mon, 30 Mar 2015 11:39:30 +0800
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: zsh-user <zsh-users@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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 <tab>
link show commands
dev -- specify device
up -- limit display to running devices
Only "dev" and "up" listed. It looks like something wrong?
Thanks!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author