1 2 3 4 5 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 # }