local*.sh added

master
Kolan Sh 2019-06-17 12:11:01 +03:00
parent c78b95348c
commit 68f9e10d9e
3 changed files with 9 additions and 3 deletions

9
README
View File

@ -5,9 +5,14 @@
ZDOTDIR=~/.zsh
source $ZDOTDIR/constants.sh
[ -x $ZDOTDIR/const.sh ] && source $ZDOTDIR/const.sh
[ -x $ZDOTDIR/local_const.sh ] && source $ZDOTDIR/local_const.sh
for rc in $ZDOTDIR/*.sh
do
source $rc
[ -x $rc ] && source $rc
done
unset rc
[ -x $ZDOTDIR/local.sh ] && source $ZDOTDIR/local.sh
unset ZDOTDIR

View File

@ -45,3 +45,4 @@ elif [[ "linux" != "$TERM" && -f $HOME/.dircolors_256 ]]; then
fi
export COLORTERM=truecolor
HOST_COLOR=31m

View File

@ -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;32m%}%m%{\e[0;36m%} (%T)]──(%{\e[0;33m%}%~%{\e[0;36m%})\n└─[%{\e[0;39m%}%# %{\e[0;36m%}>%b '
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 '
RPROMPT=$'$(vcs_info_wrapper)'