1
0
Fork 0
oh-my-zsh-eriol-themes/eriol.zsh-theme

21 lines
784 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env zsh
local user_or_root='%(#.#.)'
local ret_status="%(?:%{$fg[green]%}${user_or_root} :%{$fg[red]%}${user_or_root} %s)"
HOST_USER_PROMPT="%{$FG[208]%}%n@%m"
PATH_PROMPT="%{$fg[green]%}%p %{$fg[cyan]%}%~ %{$reset_color%}"
GIT_PROMPT="\$(git_prompt_info)"
VIRTUALENV_PROMPT="\$(virtualenv_prompt_info)"
RETURN_PROMPT="${ret_status}% %{$reset_color%}"
PROMPT="$VIRTUALENV_PROMPT$HOST_USER_PROMPT$PATH_PROMPT$GIT_PROMPT$RETURN_PROMPT"
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[white]%}) %{$fg[yellow]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$reset_color%})"
ZSH_THEME_VIRTUALENV_PREFIX="%{$reset_color%}%{$fg[blue]%}"
ZSH_THEME_VIRTUALENV_SUFFIX="!%{$reset_color%} "