Now I know this might look weird, but zx throws an error when running ifconfig -l | xargs -n1 ipconfig getifaddr, because ipconfig getifaddr <interface name> throws an error when getting say en1 (at least on my machine). Regardless the command is still successful as it will retrieve the actual internal IP address regardless.