-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bashrc
37 lines (31 loc) · 1.17 KB
/
.bashrc
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
# _ _
# | |__ __ _ ___| |__ _ __ ___
# | '_ \ / _` / __| '_ \| '__/ __|
# _| |_) | (_| \__ \ | | | | | (__
# (_)_.__/ \__,_|___/_| |_|_| \___|
#
# -----------------------------------------------------
# ML4W bashrc loader
# -----------------------------------------------------
# DON'T CHANGE THIS FILE
# You can define your custom configuration by adding
# files in ~/.config/bashrc
# or by creating a folder ~/.config/bashrc/custom
# with copies of files from ~/.config/bashrc
# You can also create a .bashrc_custom file in your home directory
# -----------------------------------------------------
# -----------------------------------------------------
# Load modular configarion
# -----------------------------------------------------
for f in ~/.config/bashrc/*; do
if [ ! -d $f ] ;then
c=`echo $f | sed -e "s=.config/bashrc=.config/bashrc/custom="`
[[ -f $c ]] && source $c || source $f
fi
done
# -----------------------------------------------------
# Load single customization file (if exists)
# -----------------------------------------------------
if [ -f ~/.bashrc_custom ] ;then
source ~/.bashrc_custom
fi