dotfiles/.oh-my-zsh/themes/oke.zsh-theme

18 lines
464 B
Bash

PROMPT=""
PROMPT+="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
if [[ "$(env | grep SSH_)" != "" || "$(env | grep SUDO_)" != "" ]]; then
PROMPT+="%{$FG[007]%}%n@%m:"
fi
PROMPT+='%{$fg[cyan]%}%c%{$reset_color%}$(git_prompt_info) '
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}(%{$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]%})"