Skip to content

Instantly share code, notes, and snippets.

@armno
Last active Dec 13, 2015
Embed
What would you like to do?
my zsh them
PROMPT='$fg_bold[red]~: $fg[yellow]$(get_pwd) $(git_prompt_info)
$reset_color➜ '
function get_pwd() {
echo "${PWD/$HOME/~}"
}
ZSH_THEME_GIT_PROMPT_PREFIX="$reset_color$fg[green]["
ZSH_THEME_GIT_PROMPT_SUFFIX="]"
ZSH_THEME_GIT_PROMPT_DIRTY="$fg_bold[red]+$reset_color$fg[green]"
ZSH_THEME_GIT_PROMPT_CLEAN="$fg[green]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment