diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2008-10-10 13:20:05 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-10-10 13:20:05 +0000 |
| commit | 198a53dd46ee8cf48eefa70aa51a821139b505b1 (patch) | |
| tree | 54cb4fcc76ed335f8028e05a2ce95a18632f30e1 /Functions/Zftp/zffcache | |
| parent | unposted: 4.3.6-dev-1 (diff) | |
| download | zsh-198a53dd46ee8cf48eefa70aa51a821139b505b1.tar zsh-198a53dd46ee8cf48eefa70aa51a821139b505b1.tar.gz zsh-198a53dd46ee8cf48eefa70aa51a821139b505b1.tar.bz2 zsh-198a53dd46ee8cf48eefa70aa51a821139b505b1.tar.lz zsh-198a53dd46ee8cf48eefa70aa51a821139b505b1.tar.xz zsh-198a53dd46ee8cf48eefa70aa51a821139b505b1.tar.zst zsh-198a53dd46ee8cf48eefa70aa51a821139b505b1.zip | |
unposted: silence some warnings when WARN_CREATE_GLOBAL is set
Diffstat (limited to 'Functions/Zftp/zffcache')
| -rw-r--r-- | Functions/Zftp/zffcache | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Functions/Zftp/zffcache b/Functions/Zftp/zffcache index 0d9686660..48afdcba0 100644 --- a/Functions/Zftp/zffcache +++ b/Functions/Zftp/zffcache @@ -2,6 +2,8 @@ # storing it in fcache_name, then generate the cache for the current # directory, or with argument -d clear the cache. +[[ $1 = -d ]] && local fcache_name + fcache_name=$zfconfig[fcache_$ZFTP_SESSION] if [[ -z $fcache_name ]]; then local vals |
