diff options
Diffstat (limited to 'Completion/User/_ports')
-rw-r--r-- | Completion/User/_ports | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Completion/User/_ports b/Completion/User/_ports deleted file mode 100644 index 958917bd6..000000000 --- a/Completion/User/_ports +++ /dev/null @@ -1,12 +0,0 @@ -#autoload - -local expl ports - -if ! zstyle -a ":completion:${curcontext}:" ports ports; then - (( $+_cache_ports )) || - : ${(A)_cache_ports:=${${(M)${${(f)"$(</etc/services)"}:#\#*}#*/tcp}%%[ ]*}} - - ports=( "$_cache_ports[@]" ) -fi - -_wanted ports expl port compadd "$@" -a ports |