1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 21:44:11 +01:00
zsh/Functions/Zftp/zfls

15 lines
208 B
Plaintext
Raw Normal View History

1999-04-25 17:43:45 +02:00
# function zfls {
emulate -L zsh
[[ $curcontext = :zf* ]] || local curcontext=:zfls
1999-04-25 17:43:45 +02:00
# directory hack, see zfcd
if [[ $1 = $HOME || $1 = $HOME/* ]]; then
1="~${1#$HOME}"
fi
zfautocheck -d
zftp ls $*
# }