Files
zcustom/edorrington.zsh-theme.zsh
Edward Dorrington a242bcd908 Change FreeBSD prompt
2020-05-31 14:43:24 -06:00

18 lines
729 B
Bash
Raw 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.
case "`uname`" in
FreeBSD)
PROMPT='%n@%m %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} %{$reset_color%} %F{cyan}%~%f %F{red}>%F{yellow}>%F{green}>%f '
;;
*)
PROMPT='%n@%m %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} %{$reset_color%} %F{cyan}%~%f %F{red}%F{yellow}%F{green}%f '
;;
esac
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
export LSCOLORS=gxfxbEaEBxxEhEhBaDaCaD
export LS_COLORS='di=34:ln=35:so=32:pi=33:ex=31:bd=36;01:cd=33;01:su=31;40;07:sg=36;40;07:tw=32;40;07:ow=33;40;07:'