kate.ward | d99166b | 2008-11-12 20:15:39 +0000 | [diff] [blame] | 1 | improve 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 |