zsh common- add wrapper function for getting all IP addresses