about summary refs log tree commit diff
path: root/Functions/Zftp/zfmark
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Zftp/zfmark')
-rw-r--r--Functions/Zftp/zfmark1
1 files changed, 1 insertions, 0 deletions
diff --git a/Functions/Zftp/zfmark b/Functions/Zftp/zfmark
index 74cc702ac..49c1538bc 100644
--- a/Functions/Zftp/zfmark
+++ b/Functions/Zftp/zfmark
@@ -7,6 +7,7 @@
 
 emulate -L zsh
 setopt extendedglob
+[[ $curcontext = :zf*: ]] || local curcontext=:zfmark:
 
 # Set ZFTP_BMFILE if not already set.  This should agree with
 # the corresponding line in zfgoto.