Last active
October 8, 2015 21:49
-
-
Save dggodfrey/a578129404fbba86b11a to your computer and use it in GitHub Desktop.
Oh My Zsh theme that uses /michaeldfallen/git-radar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)" | |
PROMPT='${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$reset_color%}' | |
PROMPT="$PROMPT\$(git-radar --zsh --fetch): " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Installation
Install git-radar plugin with brew
brew install michaeldfallen/formula/git-radar
Install Theme
Save this theme (with the .zsh-theme extension) into your
~/.oh-my-zsh/custom/themes/
folder. Create the 'themes' folder if it doesn't exist.Update Config
Open your
~/.zshrc
file and change the ZSH_THEME to dggodfrey.ZSH_THEME="dggodfrey"