fish-shell/share/completions/ifconfig.fish

25 lines
430 B
Fish

complete -x -c ifconfig -a down --description "Stop interface"
complete -x -c ifconfig -a up --description "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)" --description "Network interface"