My Bash config
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.

406 B

# 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