-
Notifications
You must be signed in to change notification settings - Fork 0
/
bashrc.symlink
44 lines (34 loc) · 1016 Bytes
/
bashrc.symlink
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
###############################################################################
# .bashrc
#
# This file should ideally be kept small, focusing on linking
# Loaded by interactive shells, that are also non-login
#
# Note: Currently .bash_profile is set to source this file so that
# even login shells load .bashrc
###############################################################################
### ENVIRONMENT VARIABLES
export DOTFILES=$HOME/dotfiles
### SOURCE LOCAL FILES SYMLINKED TO HOME DIRECTORY
if [[ -e "$HOME/.paths.local" ]]; then
source "$HOME/.paths.local"
fi
### SOURCE ALL APPROPRIATE FILES WITHIN DOTFILES PROJECT
shopt -s nullglob
for config_file in $DOTFILES/source/bash/*
do
source $config_file
done
for config_file in $DOTFILES/source/system/*
do
source $config_file
done
for config_file in $DOTFILES/private/source/bash/*
do
source $config_file
done
for config_file in $DOTFILES/private/source/system/*
do
source $config_file
done
shopt -u nullglob