local*.sh added
This commit is contained in:
parent
75d6d1e322
commit
01875a5ff5
10
README
10
README
@ -5,12 +5,18 @@
|
|||||||
# Create ~/.bashrc file with contents below.
|
# Create ~/.bashrc file with contents below.
|
||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# ~/.bashrc
|
||||||
|
|
||||||
BDOTDIR=~/.bash
|
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
|
for rc in $BDOTDIR/*.sh
|
||||||
do
|
do
|
||||||
source $rc
|
[ -x $rc ] && source $rc
|
||||||
done
|
done
|
||||||
unset rc
|
unset rc
|
||||||
|
|
||||||
|
[ -x $BDOTDIR/local.sh ] && source $BDOTDIR/local.sh
|
||||||
|
|
||||||
|
unset BDOTDIR
|
||||||
|
@ -21,3 +21,4 @@ elif [[ "linux" != "$TERM" && -f $HOME/.dircolors_256 ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
export COLORTERM=truecolor
|
export COLORTERM=truecolor
|
||||||
|
HOST_COLOR=31m
|
@ -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;30m\]\$(__git_ps1)\$(__hg_ps1) \\
|
||||||
\[\033[01;36m\]\$\[\033[00m\] \\
|
\[\033[01;36m\]\$\[\033[00m\] \\
|
||||||
"
|
"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user