about summary refs log tree commit diff
path: root/Functions/Zftp/zfls
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Zftp/zfls')
-rw-r--r--Functions/Zftp/zfls1
1 files changed, 1 insertions, 0 deletions
diff --git a/Functions/Zftp/zfls b/Functions/Zftp/zfls
index e8d3cfb28..73211b46a 100644
--- a/Functions/Zftp/zfls
+++ b/Functions/Zftp/zfls
@@ -1,6 +1,7 @@
 # function zfls {
 
 emulate -L zsh
+[[ $curcontext = :zf* ]] || local curcontext=:zfls
 
 # directory hack, see zfcd
 if [[ $1 = $HOME || $1 = $HOME/* ]]; then