Joke de Buhr wrote: [...] > #!/bin/sh >=20=20=20 > if [ -z "$ZSH_VERSION" ]; then > ## searching PATH for zsh executable > exec zsh $0 $* That should rather be exec zsh "$0" "$@" Or even better, as Vicent put it: exec zsh -- "$0" ${1+"$@"} The `--' should be pretty clear. About the ${1+"$@"}, see: Regards, Frank =2D-=20 In protocol design, perfection has been reached not when there is nothing left to add, but when there is nothing left to take away. -- RFC 1925