You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
7 months ago | |
---|---|---|
README | 3 years ago | |
alias.sh | 2 years ago | |
completion.sh | 10 years ago | |
const.sh | 7 months ago | |
funstions.sh | 10 years ago | |
prompt.sh | 7 months ago | |
scm.sh | 3 years ago | |
screen.sh | 10 years ago | |
user.sh | 9 years ago |
README
# 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