Some more useful stuff from old ZSHRC