forked from ryanb/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathzshrc
41 lines (31 loc) · 895 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
# Pre-load .localrc for custom theme selection
[[ -f ~/.localrc ]] && . ~/.localrc
ZSH_THEME_SELECTED="$ZSH_THEME"
# Load oh-my-zsh
ZSH=$HOME/.oh-my-zsh
plugins=($plugins brew capistrano debian git gem heroku npm rails ruby rvm svn yum)
if [[ "$unamestr" == 'Darwin' ]]; then
# Include osx plugin on osx
plugins=($plugins osx)
fi
DISABLE_AUTO_UPDATE="true"
. ~/.oh-my-zsh/oh-my-zsh.sh
# Load syntax highlight
source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# Disable auto-correct
unsetopt correct_all
export SHELL="$(which zsh)"
# Bash settings
. ~/.bash/aliases
. ~/.bash/paths
. ~/.bash/config
# Other zsh settings
. ~/.zsh/config
. ~/.zsh/aliases
. ~/.zsh/completion
. ~/.zsh/prompt
. ~/.zsh/shared_history
# load fzf for zsh
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# use .localrc for settings specific to one system
[[ -f ~/.localrc ]] && . ~/.localrc