Skip to content

Instantly share code, notes, and snippets.

@allanburleson
Created August 21, 2016 21:24
Show Gist options
  • Save allanburleson/c87ea7e065ae1793c85d47c6f377e92d to your computer and use it in GitHub Desktop.
Save allanburleson/c87ea7e065ae1793c85d47c6f377e92d to your computer and use it in GitHub Desktop.
My simple zsh theme (for use with oh-my-zsh)
PROMPT='%n@%m : %{$fg[green]%}%~%{$fg_bold[blue]%}$(git_prompt_info)%{$reset_color%} '
ZSH_THEME_GIT_PROMPT_PREFIX="("
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
ZSH_THEME_GIT_PROMPT_DIRTY=" $fg[red]:($fg[blue]"
ZSH_THEME_GIT_PROMPT_CLEAN=" $fg[green]:)$fg[blue]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment