Skip to content

Instantly share code, notes, and snippets.

@dggodfrey
Last active October 8, 2015 21:49
Show Gist options
  • Save dggodfrey/a578129404fbba86b11a to your computer and use it in GitHub Desktop.
Save dggodfrey/a578129404fbba86b11a to your computer and use it in GitHub Desktop.
Oh My Zsh theme that uses /michaeldfallen/git-radar
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): "
@dggodfrey
Copy link
Author

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment