diff options
Diffstat (limited to 'Functions/Zftp/zfhere')
-rw-r--r-- | Functions/Zftp/zfhere | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Functions/Zftp/zfhere b/Functions/Zftp/zfhere index 43e599d3a..8fa607e28 100644 --- a/Functions/Zftp/zfhere +++ b/Functions/Zftp/zfhere @@ -1,5 +1,6 @@ # function zfhere { # Change to the directory corresponding to $PWD on the server. # See zfcd for how this works. +[[ $curcontext = :zf* ]] || local curcontext=:zfhere zfcd $PWD # } |