aboutsummaryrefslogtreecommitdiff
path: root/Functions/Zftp/zfparams
blob: 5c5262c5245cfe2b66debc63adcc2d912655110b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# 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 $*
# }