From 567917651a0ac6f595b062e0721267a8f1585b51 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Sun, 12 Sep 1999 00:02:45 +0000 Subject: Initial revision --- Completion/User/_hostports | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Completion/User/_hostports (limited to 'Completion/User/_hostports') diff --git a/Completion/User/_hostports b/Completion/User/_hostports new file mode 100644 index 000000000..9e331bb8a --- /dev/null +++ b/Completion/User/_hostports @@ -0,0 +1,9 @@ +#autoload + +# Usage: _hostport host + +local host="$1" +shift + +compadd "$@" - ${${(M)hosts\:#$host\:*}#*\:} + -- cgit 1.4.1