1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2025-05-14 20:09:26 +02:00

Moved bash/main into scriptlets. Added to main bashrc

This commit is contained in:
Eric-Teunis de Boone 2016-10-02 23:49:56 +02:00
parent 7a82ebe7f1
commit 811a903869
6 changed files with 7 additions and 5 deletions

View file

@ -24,9 +24,10 @@ if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
fi
# Load main things
if [ -d "$DOTBASH/main" ]; then
for f in $DOTBASH/main/*; do
source "$f"
if [ -d "$DOTBASH/scriptlets" ]; then
for f in colours aliases history ps1
do
source "$DOTBASH/scriptlets/$f"
done
fi