mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 11:43:37 +08:00
68527ff20c
This ends up saving a surprising number of bytes.
26 lines
397 B
Fish
26 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"
|