1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-01 21:51:40 +02:00
zsh/Functions/Zftp/zfparams
1999-04-25 15:43:45 +00:00

12 lines
221 B
Text

# function zfparams {
emulate -L zsh
# Set to prompt for any user or password if not given.
# Don't worry about accounts here.
if (( $# > 0 )); then
(( $# < 2 )) && 2='?'
(( $# < 3 )) && 3='?'
fi
zftp params $*
# }