aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/ifconfig.fish
diff options
context:
space:
mode:
Diffstat (limited to 'share/completions/ifconfig.fish')
-rw-r--r--share/completions/ifconfig.fish25
1 files changed, 25 insertions, 0 deletions
diff --git a/share/completions/ifconfig.fish b/share/completions/ifconfig.fish
new file mode 100644
index 00000000..ab1481e7
--- /dev/null
+++ b/share/completions/ifconfig.fish
@@ -0,0 +1,25 @@
+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")