Drat. #zsh doesn’t expand braces before expanding variables. In #bash, «echo $X{A,B}X» gets expanded to «echo $XAX $XBX».