Last active
August 30, 2018 01:03
-
-
Save nickcheng/cd9102bac13bc047dead8555a77e300a to your computer and use it in GitHub Desktop.
[git-radar prompt setting in .zshrc] #zsh #on-my-zsh #git
This file contains hidden or 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
# git-radar | |
# Installation: brew install michaeldfallen/formula/git-radar | |
# Source: https://github.com/michaeldfallen/git-radar | |
export PROMPT=' | |
%{$fg_bold[white]%}%T%{$reset_color%}\ | |
%{$fg[cyan]%} %n%{$reset_color%}\ | |
%{$fg_bold[green]%} %d%{$reset_color%}\ | |
$(git-radar --zsh --fetch) \ | |
%{$fg[white]%}[%*] $exit_code | |
%{$terminfo[bold]$fg[red]%}$ %{$reset_color%}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment