diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-12 00:02:40 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-12 00:02:40 +0000 |
commit | 189116eac0f70862330cb9a6e49a7a85474ea7fa (patch) | |
tree | 3bbf4166b905242d6acb0ee4b90a696f16f5dd0a /Completion/User/_hostports | |
parent | 602c2d81251d8c57dd1d0ea228dc5a3e8df68e00 (diff) | |
download | zsh-189116eac0f70862330cb9a6e49a7a85474ea7fa.tar.gz zsh-189116eac0f70862330cb9a6e49a7a85474ea7fa.tar.xz zsh-189116eac0f70862330cb9a6e49a7a85474ea7fa.zip |
zsh-workers/7779
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\:*}#*\:} + |