about summary refs log tree commit diff
path: root/Functions/Zftp/zfsession
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Zftp/zfsession')
-rw-r--r--Functions/Zftp/zfsession1
1 files changed, 1 insertions, 0 deletions
diff --git a/Functions/Zftp/zfsession b/Functions/Zftp/zfsession
index 9cd0d918f..79d4da93c 100644
--- a/Functions/Zftp/zfsession
+++ b/Functions/Zftp/zfsession
@@ -3,6 +3,7 @@
 
 emulate -L zsh
 
+[[ $curcontext = :zf* ]] || local curcontext=:zfsession
 local opt opt_l opt_v opt_o opt_d hadopts
 
 while getopts ":lovd" opt; do