From 84c7772d1e53bd921737e8dc2300ac4b7eb2fd6d Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Mon, 17 Jun 2019 13:08:15 +0300 Subject: [PATCH] prompt updated --- const.sh | 1 + prompt.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/const.sh b/const.sh index 21454cc..6eaa1e4 100755 --- a/const.sh +++ b/const.sh @@ -45,4 +45,5 @@ elif [[ "linux" != "$TERM" && -f $HOME/.dircolors_256 ]]; then fi export COLORTERM=truecolor +PROMPT_COLOR=36m HOST_COLOR=31m diff --git a/prompt.sh b/prompt.sh index 7614c42..b3c4c36 100755 --- a/prompt.sh +++ b/prompt.sh @@ -11,5 +11,5 @@ zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r' zstyle ':vcs_info:*' enable svn hg git zstyle ':vcs_info:*' disable-patterns "$HOME(/smb*|/.big/smb*)" -PROMPT=$'%B%{\e[0;36m%}┌─[%{\e[0;36m%}%n%{\e[0;36m%}@%{\e[0;$HOST_COLOR%}%m%{\e[0;36m%} (%T)]──(%{\e[0;33m%}%~%{\e[0;36m%})\n└─[%{\e[0;39m%}%# %{\e[0;36m%}>%b ' +PROMPT=$'%B%{\e[0;$PROMPT_COLOR%}┌─[%{\e[0;$PROMPT_COLOR%}%n%{\e[0;$PROMPT_COLOR%}@%{\e[0;$HOST_COLOR%}%m%{\e[0;$PROMPT_COLOR%} (%T)]──(%{\e[0;33m%}%~%{\e[0;$PROMPT_COLOR%})\n└─[%{\e[0;39m%}%# %{\e[0;$PROMPT_COLOR%}>%b ' RPROMPT=$'$(vcs_info_wrapper)'