-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbash_dotfiles.sh
executable file
·66 lines (54 loc) · 1.22 KB
/
bash_dotfiles.sh
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
55
56
57
58
59
60
61
62
63
64
65
66
# home bin path
if [ -d "$HOME/.bin" ]; then
export PATH="$HOME/.bin:$PATH"
fi
# dotfiles bin path
if [ -d "$HOME/.dotfiles/bin" ]; then
export PATH="$HOME/.dotfiles/bin:$PATH"
fi
# /opt/kellyredding bin path
if [ -d "/opt/kellyredding/bin" ]; then
export PATH="/opt/kellyredding/bin:$PATH"
fi
# Mise Node LTS bin path
if [ -d "$HOME/.local/share/mise/installs/node/lts/bin" ]; then
export PATH="$HOME/.local/share/mise/installs/node/lts/bin:$PATH"
fi
# start new shells in last used dir
# export PROMPT_COMMAND="update_terminal_cwd; $PROMPT_COMMAND"
# disable Homebrew auto updates
export HOMEBREW_NO_AUTO_UPDATE=1
# Color definitions
if [ -f ~/.bash/colors.sh ]; then
. ~/.bash/colors.sh
fi
# Git stuff
# - command auto complete
# - ps1 helpers
if [ -f ~/.bash/git.sh ]; then
. ~/.bash/git.sh
fi
# Ruby stuff
# - rb init
# - gem completion
if [ -f ~/.bash/ruby.sh ]; then
. ~/.bash/ruby.sh
fi
# Postgres.app stuff
# - chpg init
if [ -f ~/.bash/postgres-app.sh ]; then
. ~/.bash/postgres-app.sh
fi
# Python stuff
# - pythonrc
if [ -f ~/.bash/python.sh ]; then
. ~/.bash/python.sh
fi
# Aliases
if [ -f ~/.bash/aliases.sh ]; then
. ~/.bash/aliases.sh
fi
# Custom PS1
if [ -f ~/.bash/ps1.sh ]; then
. ~/.bash/ps1.sh
fi