1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 04:30:24 +02:00
zsh/Functions/Zftp/zfls
1999-12-15 21:33:36 +00:00

14 lines
210 B
Text

# 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 $*
# }