Skip to content

Instantly share code, notes, and snippets.

@cravacuore
Created September 24, 2018 14:03
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save cravacuore/f928d02a8ea71ed92481ef7d1ea92e53 to your computer and use it in GitHub Desktop.
Save cravacuore/f928d02a8ea71ed92481ef7d1ea92e53 to your computer and use it in GitHub Desktop.
Zsh 'raw' theme I made by copying various ideas from other themes into one
# Inspired by making a mixture the following themes:
# robbyrussell + arrow + lambda
# changing some colors and elements positions
local ret_status="%(?:%{$fg_bold[grey]%}λ :%{$fg_bold[red]%} λ )"
PROMPT=' ${ret_status}%{$fg[magenta]%}%c %{$fg[black]%}➤ %{$reset_color%}'
RPROMPT='$(git_prompt_info) %{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[grey]%}git:(%{$fg[cyan]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[grey]%}) %{$fg[yellow]%}✗"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[grey]%})"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment