An oh-my-zsh theme that's informative, minimal, and, above all, X-Men themed.
Coming soon: a vim mode indicator!
(Check the vim-indicator branch for the current work on it.)
- The dangerroom theme lines up all your commands on the left side, thanks to a simple and static X-Men symbol prompt. No more scanning left to right as you parse previous commands. Just look straight up.
- The dangerroom theme shows your working directory and its parent directory.
- The dangerroom theme shows your current git branch and whether you have files changed in your repo that you haven't committed. The peace symbol means you're all caught up. The crossed swords mean that the X-Men are at war.
- The dangerroom theme shows you your current command-line vim mode.
- The dangerroom theme does not have the time, the full path to your working directory, or extra git information. You rarely need that stuff, so they shouldn't be crowding up your terminal. Focus and determination, young mutant. Focus and determination.
Please note that some terminal/font combinations display this theme's symbols either cut off or at half their normal size. Consider experimenting with combining different fighting techniques if you want to hone your powers and survive in a superpowered world.
-
Install oh-my-zsh, if you don't have it. They have excellent directions for how to do so, and you'll never look back.
-
Take the
dangerroom.zsh-theme
file from this repo and put it in your~/.oh-my-zsh/themes
directory. -
Edit the
.zshrc
file in your home directory to set theZSH_THEME
variable to the value"dangerroom"
, like so:
ZSH_THEME="dangerroom"
- Run this command in your terminal (or simply quit the terminal and relaunch):
source ~/.zshrc
- Let the danger room sharpen your command line skills.
Excelsior!