-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bashrc
More file actions
44 lines (28 loc) · 731 Bytes
/
.bashrc
File metadata and controls
44 lines (28 loc) · 731 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
43
44
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# Differences between [ and [[: http://mywiki.wooledge.org/BashFAQ/031
function load_dotfiles {
for SCRIPT in ~/.bashrc.d/"$1"/*.bash
do source "$SCRIPT"
done
}
# ----------- #
# SHELL UTILS #
# ----------- #
load_dotfiles 1-shell-utils
# --------------- #
# SESSION SETUPS #
# --------------- #
load_dotfiles 2-session
# ------------------- #
# DEVELOP ENVIRONMENT #
# ------------------- #
load_dotfiles 3-dev-environment
# --------------------- #
# ALIASES AND FUNCTIONS #
# --------------------- #
load_dotfiles 4-aliases-functions
# ---------------- #
# GRAPHICAL OUTPUT #
# ---------------- #
load_dotfiles 5-graphical-output