diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-07-11 19:12:22 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-07-11 19:12:22 +0000 |
commit | ffabab4e74ae5b7e61550c528b8d19f6af6217e3 (patch) | |
tree | 666ce4565e2740f1f4bc4e1c07a2b188004f38f6 /Completion/Zsh/Command | |
parent | 1b1712d065fae345cc5658318757348e9fb298d0 (diff) | |
download | zsh-ffabab4e74ae5b7e61550c528b8d19f6af6217e3.tar.gz zsh-ffabab4e74ae5b7e61550c528b8d19f6af6217e3.tar.xz zsh-ffabab4e74ae5b7e61550c528b8d19f6af6217e3.zip |
25276: use autoload -z for zsh-autoload functions
Diffstat (limited to 'Completion/Zsh/Command')
-rw-r--r-- | Completion/Zsh/Command/_zftp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Zsh/Command/_zftp b/Completion/Zsh/Command/_zftp index 9c1488fc3..105533055 100644 --- a/Completion/Zsh/Command/_zftp +++ b/Completion/Zsh/Command/_zftp @@ -28,13 +28,13 @@ fi case $subcom in *(cd|ls|dir)) # complete remote directories - [[ -z ${functions[zfcd_match]} ]] && autoload -U zfcd_match + [[ -z ${functions[zfcd_match]} ]] && autoload -Uz zfcd_match _tags directories && zfcd_match $PREFIX $SUFFIX ;; *(get(|at)|gcp|delete|remote)) # complete remote files - [[ -z ${functions[zfget_match]} ]] && autoload -U zfget_match + [[ -z ${functions[zfget_match]} ]] && autoload -Uz zfget_match _tags files && zfget_match $PREFIX $SUFFIX ;; |