# 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 # }