-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.bashrc
48 lines (38 loc) · 1.01 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
38
39
40
41
42
43
44
45
46
47
48
# .bashrc - Alan Christopher Thomas
# http://alanct.com/
# Disallow history duplicates and forget commands prefixed by spaces
HISTCONTROL=ignoredups:ignorespace
# Individually append lines to history and set window title
shopt -s histappend
# Include shell environment
if [ -f ~/.shenv ]; then
. ~/.shenv
fi
# Enable programmable completion
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
# Enable git bash completion
if [ -f ~/.bash_scripts/git-completion.bash ]; then
. ~/.bash_scripts/git-completion.bash
fi
# Enable git prompt
if [ -f ~/.bash_scripts/git-prompt.bash ]; then
. ~/.bash_scripts/git-prompt.bash
fi
# Enable ta bash completion
if [ -f ~/.bash_scripts/ta-completion.bash ]; then
. ~/.bash_scripts/ta-completion.bash
fi
# Include alias definitions
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# Enable prompt
if [ -f ~/.bash_scripts/prompt.bash ]; then
. ~/.bash_scripts/prompt.bash
fi
# Execute .bash_local
if [ -f ~/.bash_local ]; then
. ~/.bash_local
fi