Browse Source

local*.sh added

master
Kolan Sh 2 years ago
parent
commit
01875a5ff5
3 changed files with 10 additions and 3 deletions
  1. +8
    -2
      README
  2. +1
    -0
      const.sh
  3. +1
    -1
      prompt.sh

+ 8
- 2
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

constants.sh → const.sh View File


+ 1
- 1
prompt.sh 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\] \\
"

Loading…
Cancel
Save