about summary refs log tree commit diff
path: root/Functions/Zftp/zfls
blob: 73211b46a33585dac5bfabf68aae1b309182c382 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# function zfls {

emulate -L zsh
[[ $curcontext = :zf* ]] || local curcontext=:zfls

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

zfautocheck -d

zftp ls $*
# }