Add antigen bundle tylerreckart/odin
to your .zshrc
. Antigen will clone and load the odin repository automatically the next time you start a zsh session.
If you're using oh-my-zsh, follow these steps to install odin:
cd zsh_custom/themes
git clone git@github.com:tylerreckart/odin.git
cp odin/odin.zsh-theme odin.zsh-theme
rm -fr odin
- Set
ZSH_THEME="odin"
in your.zshrc
If you have any other issues, see the oh-my-zsh documentation for more info.
- Add
zgen load tylerreckart/odin
to your.zshrc
with your otherzgen load
statements zgen save
and zgen will automatically handle cloning the repository for you.
Odin was built for keeping track of your git repositories. It comes with an array of easily distinguishable status indicators that keep you up to date without overcrowding your shell.
◒ - Untracked files
✚ - Files added to git
⚑ - Modified files
✖ - Deleted files
➜ - Renamed files
§ - Unmerged files
𝝙 - Repo ahead of current branch
The right side of the prompt also displays the current branch as well as the time since last commit.
I have also included the color scheme that I have set up to work with odin. I've found this configuration to work very well and is suits my needs. Just load odin.itermcolors
into iTerm2 and you're off. Don't have iTerm2? Check it out (hint: it's awesome!)
MIT License (MIT)
This theme is based off of jacobthemyth's personal zsh theme, which can be found in his Dotfiles repository.
Special thanks to Joe Block for adding Odin to his list of awesome zsh plugins