This is a custom oh-my-zsh theme that was inspired by my prior AIX and Bash prompt setups along with the avit.zsh-theme.
The following screenshot shows you the theme and custom prompt in action with the GIT plugin included. The prompt provides the host, IP address, and path you are current in along with the branch, status and last touch times (pulled from the avit theme).
- Clone this repo into the
~/.oh-my-zsh/custom/themes
directory by using the following command.
git clone https://github.com/userhiren/oh-my-zsh-gideon-theme ~/.oh-my-zsh/custom/themes/oh-my-zsh-gideon-theme
- Next setup a symbolic link to the themes directory.
ln -s ~/.oh-my-zsh/custom/themes/oh-my-zsh-gideon-theme/gideon.zsh-theme ~/.oh-my-zsh/themes/gideon.zsh-theme
- Update your
~/.zshrc
file, updating theZSH_THEME
property togideon
.
If you want to pull the latest fixes or enhancements for the future you can run the following commands.
cd ~/.oh-my-zsh/custom/themes/oh-my-zsh-gideon-theme
git pull
- Clean up IP address resolution so that it is smart cached and also handles multiple platforms and adapters.