diff options
author | Tomasz Pala <gotar@polanet.pl> | 2017-08-16 20:54:20 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2017-08-16 23:58:19 +0200 |
commit | 8197af9b9c83d06dfe27478e9ce977b1e47883f9 (patch) | |
tree | 4aa25686d2c77665f3abb81d6a1c2249f729b188 /Completion/Unix/Command | |
parent | b1a1a342504f8013907244c3a2728571e7839543 (diff) | |
download | zsh-8197af9b9c83d06dfe27478e9ce977b1e47883f9.tar.gz zsh-8197af9b9c83d06dfe27478e9ce977b1e47883f9.tar.xz zsh-8197af9b9c83d06dfe27478e9ce977b1e47883f9.zip |
users/22834: allow completion after -c and a few other new ip options
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r-- | Completion/Unix/Command/_ip | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_ip b/Completion/Unix/Command/_ip index 6e1cc3b78..74101c646 100644 --- a/Completion/Unix/Command/_ip +++ b/Completion/Unix/Command/_ip @@ -530,15 +530,30 @@ args=( /$'[^\0]#\0'/ ) +# TODO: +# -b*atch <FILENAME> +# -force (for batch mode) +# -l*oops <COUNT> +# -n*etns <NETNS> +# -rc, -rcvbuf<SIZE> _regex_words options "ip options" \ '-h*uman:output statistics with human readable values' \ '-i*ec:print human readable rates in IEC units (ie. 1K = 1024)' \ '-s*tatistics:output statistics' \ + '-d*etails:output more detailed information' \ + '-c*olor:color output' \ + '-a*ll:executes specified command over all objects' \ '-f*amily:select protocol family:$subcmd_family' \ '-4:IPv4' \ '-6:IPv6' \ + '-B:family bridge' \ + '-D:family DECnet' \ + '-I:family IPX' \ + '-M:family MPLS' \ '-0:link protocol, no networking' \ '-o*neline:output one record per line' \ + '-t*imestamp:display current time when using monitor option' \ + '-ts*hort:display current time in shorter format when using monitor option' \ '-r*esolve:use system resolver for DNS names' args+=("$reply[@]" "#") |