dots/bashrc

17 lines
354 B
Bash
Raw Normal View History

# ~/.bashrc: executed by bash(1) for non-login shells.
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
if [[ -d "${HOME}/.commonsh" ]] ; then
for file in "${HOME}"/.commonsh/* ; do
source $file
done
fi
if [[ -d "${HOME}/.bash" ]] ; then
for file in "${HOME}"/.bash/* ; do
source $file
done
fi