From e8eb43fc308acb3f1a8ebada7633c097e5050e46 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Sun, 25 Apr 1999 15:43:45 +0000 Subject: Initial revision --- Functions/Zftp/zfparams | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Functions/Zftp/zfparams (limited to 'Functions/Zftp/zfparams') diff --git a/Functions/Zftp/zfparams b/Functions/Zftp/zfparams new file mode 100644 index 000000000..5c5262c52 --- /dev/null +++ b/Functions/Zftp/zfparams @@ -0,0 +1,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 $* +# } -- cgit 1.4.1