Skip to content

Instantly share code, notes, and snippets.

@tjh
Created February 4, 2010 15:51
Show Gist options
  • Save tjh/294776 to your computer and use it in GitHub Desktop.
Save tjh/294776 to your computer and use it in GitHub Desktop.
# -----------------------------------------
# Oh My Zsh theme
# -----------------------------------------
# Inspired by "xiong-chiamiov" and "robbyrussell"
# Looks like:
# ┌─[tharvey@macbook] - [~/code/test_project] - [git:master ✗ Changed ✗]
# └─[$]>➜
PROMPT=$'\n%{\e[0;34m%}%B┌─[%b%{\e[0m%}%{\e[1;32m%}%n%{\e[1;30m%}@%{\e[0m%}%{\e[0;36m%}%m%{\e[0;34m%}%B]%b%{\e[0m%} - %b%{\e[0;34m%}%B[%b%{\e[1;37m%}%~%{\e[0;34m%}%B]%b%{\e[0m%} - %{\e[0;34m%}%B[%b$(git_prompt_info)%{\e[0;34m%}%B]%b%{\e[0m%}
%{\e[0;34m%}%B└─%B[%{\e[1;35m%}$%{\e[0;34m%}%B]>%{$fg_bold[red]%}➜%{\e[0m%}%b '
PS2=$'\e[0;34m%}%B %{\e[0m%}%b'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}git:%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%} ✗ Changed ✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN=""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment