about summary refs log tree commit diff
path: root/Completion/Zsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2001-06-14 19:58:27 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2001-06-14 19:58:27 +0000
commit87db19092061d3489ea2550ba1f54376d165b07a (patch)
tree5ba0b1dd35dd2fa234a5c00fc0af132369e019fb /Completion/Zsh
parentd247b7f14664f234802bdc2c205ad510e4e400d4 (diff)
downloadzsh-87db19092061d3489ea2550ba1f54376d165b07a.tar.gz
zsh-87db19092061d3489ea2550ba1f54376d165b07a.tar.xz
zsh-87db19092061d3489ea2550ba1f54376d165b07a.zip
Load tcp module, zfcd_match, zfget_match where necessary.
Diffstat (limited to 'Completion/Zsh')
-rw-r--r--Completion/Zsh/Command/_zftp2
1 files changed, 2 insertions, 0 deletions
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
     ;;