blob: 515c85109439e889519ecf4854293c18a33e470d [file] [log] [blame]
kate.wardd99166b2008-11-12 20:15:39 +00001improve zsh, automatically ... (pulled from configure)
2
3 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4 emulate sh
5 NULLCMD=:
6 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7 # is contrary to our usage. Disable this feature.
8 alias -g '${1+"$@"}'='"$@"'
9 setopt NO_GLOB_SUBST
10 else