From 87db19092061d3489ea2550ba1f54376d165b07a Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 14 Jun 2001 19:58:27 +0000 Subject: Load tcp module, zfcd_match, zfget_match where necessary. --- Completion/Zsh/Command/_zftp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Completion/Zsh') diff --git a/Completion/Zsh/Command/_zftp b/Completion/Zsh/Command/_zftp index ca6c59fec..9c1488fc3 100644 --- a/Completion/Zsh/Command/_zftp +++ b/Completion/Zsh/Command/_zftp @@ -28,11 +28,13 @@ fi case $subcom in *(cd|ls|dir)) # complete remote directories + [[ -z ${functions[zfcd_match]} ]] && autoload -U zfcd_match _tags directories && zfcd_match $PREFIX $SUFFIX ;; *(get(|at)|gcp|delete|remote)) # complete remote files + [[ -z ${functions[zfget_match]} ]] && autoload -U zfget_match _tags files && zfget_match $PREFIX $SUFFIX ;; -- cgit 1.4.1