about summary refs log tree commit diff
path: root/Completion/BSD/Type/_routing_domains
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/BSD/Type/_routing_domains')
-rw-r--r--Completion/BSD/Type/_routing_domains6
1 files changed, 6 insertions, 0 deletions
diff --git a/Completion/BSD/Type/_routing_domains b/Completion/BSD/Type/_routing_domains
new file mode 100644
index 000000000..4bb9f78b0
--- /dev/null
+++ b/Completion/BSD/Type/_routing_domains
@@ -0,0 +1,6 @@
+#autoload
+
+local expl
+
+_description routing-domains expl 'routing domain'
+compadd "$@" "$expl[@]" -  ${${(M)${(f)"$(_call_program routing-domains netstat -R)"}:#Rdomain *}#Rdomain }