Skip to content

Instantly share code, notes, and snippets.

@poying
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save poying/9678276 to your computer and use it in GitHub Desktop.
Save poying/9678276 to your computer and use it in GitHub Desktop.
random_animal() {
local animals='🐶🐺🐋🐹🐰🐷🐼🐳'
echo ${animals:$((RANDOM % ${#animals})):1}
}
PROMPT='%{$fg_bold[green]%}$(nodejs_prompt_info)%{$fg_bold[red]%} › %{$fg[cyan]%}%{$fg_bold[cyan]%}$(git_prompt_info)%{$reset_color%}'
RPROMPT='%{$fg_bold[cyan]%}%c%{$reset_color%} $(random_animal) '
ZSH_THEME_GIT_PROMPT_PREFIX="(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[cyan]%})%{$fg[yellow]%} ✗ %{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[cyan]%}) "
ZSH_THEME_NODEJS_PROMPT_PREFIX=" "
ZSH_PROMPT_BASE_COLOR="%{$fg_bold[blue]%}"
ZSH_THEME_REPO_NAME_COLOR="%{$fg_bold[red]%}"
@poying
Copy link
Author

poying commented Mar 21, 2014

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