From ce9d10e465acd5a5641778154d176fd737d47eed Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Wed, 15 Dec 1999 21:33:36 +0000 Subject: zsh-workers/9067 --- Functions/Zftp/zfhere | 1 + 1 file changed, 1 insertion(+) (limited to 'Functions/Zftp/zfhere') diff --git a/Functions/Zftp/zfhere b/Functions/Zftp/zfhere index 43e599d3a..3f6ca0e3d 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 # } -- cgit 1.4.1