aboutsummaryrefslogtreecommitdiff
path: root/Functions/Zftp/zfls
blob: e8d3cfb288853206b3bba57ac45c699313dc7668 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# function zfls {

emulate -L zsh

# directory hack, see zfcd
if [[ $1 = $HOME || $1 = $HOME/* ]]; then
  1="~${1#$HOME}"
fi

zfautocheck -d

zftp ls $*
# }