Change FreeBSD prompt
This commit is contained in:
@@ -1,4 +1,11 @@
|
|||||||
|
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 '
|
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_PREFIX="git:(%{$fg[red]%}"
|
||||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
||||||
|
|||||||
Reference in New Issue
Block a user