Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

device cannot be completed after "ip link show dev"



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