[solved] zsh: weird variable expansion

2004-11-16 Thread martin f krafft
sorry, this was due to the rc_expand_param zsh option, which was set in a script I accidentally sourced. -- Please do not send copies of list mail to me; I read the list! .''`. martin f. krafft <[EMAIL PROTECTED]> : :' :proud Debian developer, admin, user, and author `. `'` `- Debi

zsh: weird variable expansion

2004-11-16 Thread martin f krafft
I have the following Z shell function: pub () { scp -q $@ albatross:public_html/scratch ssh albatross "cd public_html/scratch && chmod 0644 $@" } When I run it on multiple files, however, something weird happens: cirrus:/tmp> touch a b cirrus:/tmp> set -x cirrus:/tmp> pub a b + pub a b + scp