local*.sh added

master
Kolan Sh 2019-06-17 12:11:08 +03:00
parent 75d6d1e322
commit 01875a5ff5
3 changed files with 10 additions and 3 deletions

10
README
View File

@ -5,12 +5,18 @@
# Create ~/.bashrc file with contents below.
#!/bin/bash
# ~/.bashrc
BDOTDIR=~/.bash
source $BDOTDIR/constants.sh
[ -x $BDOTDIR/const.sh ] && source $BDOTDIR/const.sh
[ -x $BDOTDIR/local_const.sh ] && source $BDOTDIR/local_const.sh
for rc in $BDOTDIR/*.sh
do
source $rc
[ -x $rc ] && source $rc
done
unset rc
[ -x $BDOTDIR/local.sh ] && source $BDOTDIR/local.sh
unset BDOTDIR

View File

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

View File

@ -1,4 +1,4 @@
export PS1="\[\033[01;36m\]\u@\[\033[01;35m\]\h\[\033[01;34m\] \w\\
export PS1="\[\033[01;36m\]\u@\[\033[01;$HOST_COLOR\]\h\[\033[01;34m\] \w\\
\[\033[01;30m\]\$(__git_ps1)\$(__hg_ps1) \\
\[\033[01;36m\]\$\[\033[00m\] \\
"