Skip to content

Instantly share code, notes, and snippets.

@ptheofan
Last active October 26, 2019 08:09
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 ptheofan/179a8064d5013effdf2eadd4b54ba510 to your computer and use it in GitHub Desktop.
Save ptheofan/179a8064d5013effdf2eadd4b54ba510 to your computer and use it in GitHub Desktop.
local ret_status="$FG[255]$BG[$THEME_HOST_BG] %m %{$reset_color%} %(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
PROMPT='${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
RPROMPT="[ %D{%H:%M} ]"
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
# Run on terminal to get all available color codes
# for code in {0..255}; do echo -e "\e[38;05;${code}m $code: Test"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment