based on robbyrussell.
- Show full path unless it's too long.
- Show ip address. It's covenient when you login to multiple server.
- Copy
neewbee.zsh-theme
to ~/.oh-my-zsh/theme - Change your
~/.zshrc
file, changeZSH_THEME
toneewbee
source ~/.zshrc
You can define NEEWBEE_ZSH_THEME_IP_INTERFACE
variable to you network interface name (etn0, wol0, etc),
or it will show the first none-empty value, which may not be what you want.