This repository has been archived by the owner on Nov 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.bash_profile
50 lines (34 loc) · 2 KB
/
.bash_profile
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
45
46
47
48
49
50
#!/bin/bash
#-------------------------------------------------------------------------------
# DEFAULTS
#-------------------------------------------------------------------------------
[[ -f "$HOME/.bash/defaults.bash" ]] && source "$HOME/.bash/defaults.bash"
#-------------------------------------------------------------------------------
# ALIASES
#-------------------------------------------------------------------------------
[[ -f "$HOME/.bash/aliases.bash" ]] && source "$HOME/.bash/aliases.bash"
#-------------------------------------------------------------------------------
# FUNCTIONS
#-------------------------------------------------------------------------------
[[ -f "$HOME/.bash/functions.bash" ]] && source "$HOME/.bash/functions.bash"
#-------------------------------------------------------------------------------
# COMMON
#-------------------------------------------------------------------------------
[[ -f "$HOME/.bash/common.bash" ]] && source "$HOME/.bash/common.bash"
#-------------------------------------------------------------------------------
# PROMPTS
#-------------------------------------------------------------------------------
[[ -f "$HOME/.bash/prompts.bash" ]] && source "$HOME/.bash/prompts.bash"
#-------------------------------------------------------------------------------
# HISTORY
#-------------------------------------------------------------------------------
[[ -f "$HOME/.bash/history.bash" ]] && source "$HOME/.bash/history.bash"
#-------------------------------------------------------------------------------
# AUTOCOMPLETERS
#-------------------------------------------------------------------------------
[[ -f "$HOME/.bash/completers.bash" ]] && source "$HOME/.bash/completers.bash"
#-------------------------------------------------------------------------------
# PENDING
#-------------------------------------------------------------------------------
# Create a `.bash_pending` file for testing new stuff:
[[ -f "$HOME/.bash_pending" ]] && source "$HOME/.bash_pending"