From 17d342160ae1c59687b61332bd4dee5e62bd509a Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 8 May 2000 10:45:02 +0000 Subject: 11252: no colon at the end of zftp function contexts --- 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..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 # } -- cgit 1.4.1