about summary refs log tree commit diff
path: root/Functions/Zftp/zfls
blob: 252fe75adf0e86447770163579b13ae880af9a91 (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 $*
# }