Last active
December 18, 2015 06:39
-
-
Save zegervdv/0b302ddd5b302da24027 to your computer and use it in GitHub Desktop.
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
eval my_gray='$FG[237]' | |
eval my_orange='$FG[214]' | |
function get_pwd() { | |
echo "${PWD/$HOME/~}" | |
} | |
local my_prompt_name='%n' | |
PROMPT='%{$fg[cyan]%}$my_prompt_name%{$reset_color%} in %{$fg[yellow]%}%~%b%{$reset_color%} | |
%{$reset_color%}%(1j.%j .)%(?.%{$fg[white]%}.%{$fg[red]%})» %{$reset_color%}' | |
RPROMPT='$my_gray on $(hg prompt "%{$fg[blue]%}{branch} %{$fg[cyan]%}{status} %{$fg[green]%}{-{incoming|count}} %{$fg[red]%}{+{outgoing|count}}" 2> /dev/null)%{$reset_color%}%' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment