From 8a1d0f50f6bd6bb2ef1a5627d1178d8e183e64f1 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 24 Jan 2000 09:33:11 +0000 Subject: zsh-workers/9413 --- Functions/Zftp/zfinit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Functions') diff --git a/Functions/Zftp/zfinit b/Functions/Zftp/zfinit index 60d116607..4f6bbc854 100644 --- a/Functions/Zftp/zfinit +++ b/Functions/Zftp/zfinit @@ -2,7 +2,7 @@ emulate -L zsh [[ $1 = -n ]] || zmodload -e zsh/zftp || zmodload -ia zsh/zftp zftp || return 1 -if zmodload -i zutil; then +if zmodload -i zsh/zutil; then local arr # Set defaults for styles if none set. zstyle -g arr ':zftp:*' progress || zstyle ':zftp:*' progress bar @@ -31,7 +31,7 @@ autoload -U zfstat zftp_chpwd zftp_progress zftransfer zftype zfuget zfuput # zftp completions: only use these if new-style completion is not # active. # -if [[ ${#_patcomps} -eq 0 || -z ${_patcomps[(r)zf*]} ]]; then +if [[ ${#_patcomps} -eq 0 || -z ${_patcomps[(r)_zf*]} ]]; then # only way of getting that noglob out of the way: this is unnecessary with # widget-based completion setopt completealiases -- cgit 1.4.1