diff options
Diffstat (limited to 'Completion/User/_hostports')
-rw-r--r-- | Completion/User/_hostports | 9 |
1 files changed, 9 insertions, 0 deletions
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\:*}#*\:} + |