1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-24 17:00:32 +02:00

zsh-workers/9413

This commit is contained in:
Tanaka Akira 2000-01-24 09:33:11 +00:00
parent 08f335e485
commit 8a1d0f50f6
3 changed files with 5 additions and 5 deletions

View file

@ -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