backbone / .bash

My Bash config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

# 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

About

My Bash config


Languages

Language:Shell 100.0%