add FreeBSD option for zshrc
This commit is contained in:
parent
f1accd5842
commit
1fe0f2baef
1 changed files with 4 additions and 1 deletions
5
.zshrc
5
.zshrc
|
|
@ -80,6 +80,9 @@ case `uname` in
|
||||||
Linux)
|
Linux)
|
||||||
PR_HOST_COLOR=$PR_GREEN
|
PR_HOST_COLOR=$PR_GREEN
|
||||||
;;
|
;;
|
||||||
|
FreeBSD)
|
||||||
|
PR_HOST_COLOR=$PR_RED
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
PR_HOST_COLOR=$PR_YELLOW
|
PR_HOST_COLOR=$PR_YELLOW
|
||||||
;;
|
;;
|
||||||
|
|
@ -112,7 +115,7 @@ esac
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
|
|
||||||
PROMPT='$PR_STITLE$PR_LIGHT_BLUE($PR_LIGHT_YELLOW%D{%H:%M}|%!$PR_BLUE%)[%(!.$PR_RED.$PR_HOST_COLOR)%n@%m$PR_LIGHT_CYAN %~$PR_BLUE]$PR_NO_COLOUR
|
PROMPT='$PR_STITLE$PR_LIGHT_BLUE(%(!.$PR_RED.$PR_LIGHT_YELLOW)%D{%H:%M}|%!$PR_BLUE%)[%(!.$PR_RED.$PR_HOST_COLOR)%n@%m$PR_LIGHT_CYAN %~$PR_BLUE]$PR_NO_COLOUR
|
||||||
%(!.#.$) '
|
%(!.#.$) '
|
||||||
#source .zshprompt
|
#source .zshprompt
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue