about summary refs log tree commit diff
path: root/Functions/Zftp/zfcd
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Zftp/zfcd')
-rw-r--r--Functions/Zftp/zfcd1
1 files changed, 1 insertions, 0 deletions
diff --git a/Functions/Zftp/zfcd b/Functions/Zftp/zfcd
index 2ecc8b0f6..57760980c 100644
--- a/Functions/Zftp/zfcd
+++ b/Functions/Zftp/zfcd
@@ -20,6 +20,7 @@
 #     work just as long as the directory structures under the home match.
 
 emulate -L zsh
+[[ $curcontext = :zf*: ]] || local curcontext=:zfcd:
 
 if [[ $1 = /* ]]; then
   zfautocheck -dn || return 1