Skip to content

Instantly share code, notes, and snippets.

@luqmaan
Last active August 29, 2015 14:23
Show Gist options
  • Save luqmaan/1c646b01a0a06f5924b3 to your computer and use it in GitHub Desktop.
Save luqmaan/1c646b01a0a06f5924b3 to your computer and use it in GitHub Desktop.
Like simple.zsh-theme, but with the time and return code. Now with git-radar.
source ~/dev/gits/git-radar/radar-base.sh
PROMPT='%{$fg[black]%}%* %? %~ $(git_prompt_info) $(zsh_color_changes_status | xargs)
%{$fg[green]%}%1d %{$fg[black]%}$ %{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX=""
ZSH_THEME_GIT_PROMPT_SUFFIX=""
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[yellow]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}✔%{$reset_color%}"
@luqmaan
Copy link
Author

luqmaan commented Jun 24, 2015

image

@luqmaan
Copy link
Author

luqmaan commented Aug 26, 2015

image

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