My Bash config
Go to file
Kolan Sh 01875a5ff5 local*.sh added 2019-06-17 12:11:08 +03:00
README local*.sh added 2019-06-17 12:11:08 +03:00
alias.sh Bash: nocorrect reserved word not supported 2015-09-16 17:53:04 +03:00
completion.sh Initial commit 2012-05-18 13:46:36 +04:00
const.sh local*.sh added 2019-06-17 12:11:08 +03:00
funstions.sh Initial commit 2012-05-18 13:46:36 +04:00
prompt.sh local*.sh added 2019-06-17 12:11:08 +03:00
scm.sh Initial commit 2012-05-18 13:46:36 +04:00
screen.sh Initial commit 2012-05-18 13:46:36 +04:00
user.sh Email updated. 2014-01-17 13:53:13 +04:00

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