Skip to content

Instantly share code, notes, and snippets.

@jdeathe
Last active November 2, 2016 00:40
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 jdeathe/93e19afc8eab454568700e5dd59064e4 to your computer and use it in GitHub Desktop.
Save jdeathe/93e19afc8eab454568700e5dd59064e4 to your computer and use it in GitHub Desktop.
zsh theme
# Based on the default theme for oh-my-zsh:
# https://github.com/robbyrussell/oh-my-zsh/blob/master/themes/robbyrussell.zsh-theme
#
# 1. Copy theme file to: ~/.oh-my-zsh/custom/themes/
# 2. Set ZSH_THEME="jdeathe" in ~/.zshrc
local ret_status="%(?:%{$fg_bold[green]%}❯ :%{$fg_bold[red]%}❯ )"
PROMPT='${ret_status}%{$fg[blue]%}%c%{$reset_color%} $(git_prompt_info)'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[black]%}[%{$fg_bold[black]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg_bold[black]%}]%{$fg_bold[white]%}⌇"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_bold[black]%}]"
export LSCOLORS='Exfxcxdxbxegedabagacaddd'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment