about summary refs log tree commit diff
path: root/Functions/Zftp/zfhere
blob: 3f6ca0e3df7f85d242e49eae1842b25faffd894c (plain) (blame)
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
# }