about summary refs log tree commit diff
path: root/Functions/Zftp/zftype
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Zftp/zftype')
-rw-r--r--Functions/Zftp/zftype1
1 files changed, 1 insertions, 0 deletions
diff --git a/Functions/Zftp/zftype b/Functions/Zftp/zftype
index c3b93b7a0..0cdf7e2aa 100644
--- a/Functions/Zftp/zftype
+++ b/Functions/Zftp/zftype
@@ -1,5 +1,6 @@
 # function zftype {
 local type zftmp=${TMPPREFIX}zftype$$
+[[ $curcontext = :zf* ]] || local curcontext=:zftype
 
 zfautocheck -d