/
zshrc
52 lines (44 loc) · 875 Bytes
/
zshrc
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
if [[ -n $TMUX ]]; then
# Let's make sure we're in tmux boots before loading anything. Without this if,
# everything loads in the "real", non-tmux terminal.
BASE="$HOME/.dotfiles/zsh"
CORE=(
key_bindings
# "tmux" needs to be before "navigation" because of current-tmux-session
tmux
navigation
colors
editor
aliases
path
options
completion
vcs
prompt
ruby
jruby
rbenv
)
############################
# EXTRAS #
# (non-core functionality) #
############################
EXTRA=(
git
rails
hitch
postgres
# arduino
)
for core in $CORE
do
source $BASE/$core.zsh
done
for extra in $EXTRA
do
source $BASE/$extra.zsh
done
source $BASE/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
export PATH
# Houston, we have liftoff.
fi