mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-24 02:13:39 +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"
|