about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/User/_whois7
1 files changed, 5 insertions, 2 deletions
diff --git a/Completion/User/_whois b/Completion/User/_whois
index f64d3930e..2043cbd4e 100644
--- a/Completion/User/_whois
+++ b/Completion/User/_whois
@@ -1,8 +1,11 @@
-#compdef whois
+#compdef whois fwhois
 
 _whois () {
   _whois_setup
-  $_whois_comp
+  case "$0" in
+  fwhois) _whois_fwhois;;
+  *) $_whois_comp;;
+  esac
 }
 
 (( $+functions[_whois_setup] )) ||