|
5 months ago | |
---|---|---|
README | 1 year ago | |
alias.sh | 5 months ago | |
completion.sh | 8 years ago | |
const.sh | 1 year ago | |
funstions.sh | 8 years ago | |
prompt.sh | 1 year ago | |
scm.sh | 1 year ago | |
screen.sh | 8 years ago | |
user.sh | 7 years ago |
# Create ~/.bash_profile
[[ -f ~/.bashrc ]] && . ~/.bashrc
# Create ~/.bashrc file with contents below.
#!/bin/bash
# ~/.bashrc
BDOTDIR=~/.bash
[ -x $BDOTDIR/const.sh ] && source $BDOTDIR/const.sh
[ -x $BDOTDIR/local_const.sh ] && source $BDOTDIR/local_const.sh
for rc in $BDOTDIR/*.sh
do
[ -x $rc ] && source $rc
done
unset rc
[ -x $BDOTDIR/local.sh ] && source $BDOTDIR/local.sh
unset BDOTDIR