-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbash_profile
More file actions
42 lines (39 loc) · 789 Bytes
/
bash_profile
File metadata and controls
42 lines (39 loc) · 789 Bytes
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
#!/bin/bash
# define the bash directory for the different bash script
DOTFILES=~/.dotfiles
export DOTFILES
bashdir=${DOTFILES}/bash
# only for local
if [ -e "${DOTFILES}/local" ]; then
source "${DOTFILES}/local"
fi
# source the different bash
modules=()
modules+=('bash_common')
modules+=('bash_color')
modules+=('bash_util_functions')
modules+=('path')
modules+=('apparix')
modules+=('python')
modules+=('tmux')
modules+=('history')
modules+=('javascript')
modules+=('ruby')
modules+=('golang')
modules+=('git')
modules+=('git_auto')
modules+=('tig')
modules+=('ps')
modules+=('buku')
modules+=('fzf')
modules+=('docker')
modules+=('kube')
modules+=('completion')
modules+=('mac')
for f in ${modules[@]}
do
if [ -e $bashdir/$f ]
then
source $bashdir/$f
fi
done