forked from jsmestad/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
39 lines (28 loc) · 759 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
# load our own completion functions
fpath=(~/.zsh/completion ~/.zsh/functions $fpath)
# completion
autoload -U compinit
compinit
# use vim as the visual editor
export VISUAL=vim
export EDITOR=$VISUAL
# makes color constants available
autoload -U colors
colors
# load custom executable functions
for function in ~/.zsh/functions/*; do
source $function
done
# enable colored output from ls, etc
export CLICOLOR=1
# load dotfiles scripts
# export PATH="$HOME/.bin:$PATH"
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
# aliases
[[ -f ~/.aliases ]] && source ~/.aliases
# Local config
[[ -f ~/.zshrc.local ]] && source ~/.zshrc.local
# antigen
[[ -f ~/.antigenrc ]] && source ~/.antigenrc
source ~/.bash_profile
source ~/.aliases