rewritten ip address grepping for tmux and zsh