-
Notifications
You must be signed in to change notification settings - Fork 1
/
.bash_profile
executable file
·54 lines (44 loc) · 954 Bytes
/
.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
51
52
53
54
# .bash_profile
# Load aliases
if [ -f ~/.aliases ]; then
. ~/.aliases
fi
# Load prompt
if [ -f ~/.bash_prompt ]; then
. ~/.bash_prompt
fi
# Get environment variables
if [ -f ~/.env ]; then
. ~/.env
fi
# Get functions
if [ -f ~/.functions ]; then
. ~/.functions
fi
# Get secrets
if [ -f ~/.secrets ]; then
. ~/.secrets
fi
# Get SSH aliases and startup script
if [ -f ~/.ssh_utils ]; then
. ~/.ssh_utils
fi
# Load local user configuration
if [ -f ~/.bash_profile.local ]; then
. ~/.bash_profile.local
fi
# cd into ConEmu's working directory on Windows
if [[ "$(uname)" == "CYGWIN"* &&
-n "$ConEmuWorkDir" && -d "$ConEmuWorkDir" ]]; then
cd "$ConEmuWorkDir"
fi
# Alias completion
# if [ -f ~/.bash_completion_helper.sh ]; then
# . ~/.bash_completion_helper.sh
#
# # complete -F _complete_alias g
# fi
# Always start tmux
# if [ -z "$TMUX" ]; then
# tmux attach -t default || tmux new -s default
# fi