Skip to content

Instantly share code, notes, and snippets.

@hartsock
Created October 6, 2025 16:14
Show Gist options
  • Save hartsock/123c8b077f0c6c01ccefa8046265ebe5 to your computer and use it in GitHub Desktop.
Save hartsock/123c8b077f0c6c01ccefa8046265ebe5 to your computer and use it in GitHub Desktop.
~/.zshrc
export IP_ADDR=`ipconfig getifaddr en0`
export PS1="%n@$IP_ADDR:%~ % # "
export PATH="$HOME/bin:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment