zsh arch- move ipp function to common