Leopard, iterm, zsh, X11

For some reason, now that I’ve moved to Leopard, every time I start an iterm shell, X11 opens up too. I use zsh as my shell, because I have some fancy .zshrc fu – much of which isn’t working any more, like the tab completion stuff – and I wondered if it has something to do with that. But it keeps happening when I move to other shells.

Any thoughts?

Meanwhile, when I try to tab-complete a filepath, I get:

_path_files:569: command not found: _list_files

and then the tab completion happens anyways.

I wish zsh wasn’t quite so much black magic to me.