fish-shell/share/completions/ifconfig.fish
Aaron Gyes 68527ff20c completions: --description -> -d
This ends up saving a surprising number of bytes.
2017-10-11 10:17:35 -07:00

25 lines
397 B
Fish

complete -x -c ifconfig -a down -d "Stop interface"
complete -x -c ifconfig -a up -d "Start interface"
complete -x -c ifconfig -a "
{,-}arp
{,-}promisc
{,-}allmulti
metric
mtu
dstaddr
netmask
add
del
tunnel
irq
io_addr
mem_start
media
{,-}broadcast
{,-}pointopoint
hw
multicast
address
txqueuelen
"
complete -x -c ifconfig -a "(__fish_print_interfaces)" -d "Network interface"