-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
65 lines (49 loc) · 1.8 KB
/
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
53
54
55
56
57
58
59
60
61
62
63
64
65
export ZSH="$HOME/.oh-my-zsh"
ZSH_CUSTOM=$HOME/.zsh
ZSH_THEME="robbyrussell"
export PATH="./vendor/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"
eval "$(hub alias -s)"
eval "$(rbenv init -)"
export NVM_DIR="$HOME/.nvm"
[ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh" # This loads nvm
[ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && . "/usr/local/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
export EDITOR='vim'
# just remind me to update when it's time
zstyle ':omz:update' mode reminder
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"
# Uncomment the following line to disable auto-setting terminal title.
DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# You can also set it to another string to have that shown instead of the default red dots.
# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
# COMPLETION_WAITING_DOTS="true"
# Automatically check for aliases
ZSH_ALIAS_FINDER_AUTOMATIC=true
# Which plugins would you like to load?
plugins=(
saneopt
zsh-vi-mode
zsh-completions
common-aliases
fasd
git
git-extras
brew
composer
extract
# alias-finder
zsh-syntax-highlighting
)
source $ZSH/oh-my-zsh.sh
# User configuration
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
autoload -U compinit && compinit
autoload -U bashcompinit && bashcompinit
# http://superuser.com/a/479614/261574
set -o ignoreeof
export GOPATH=$(go env GOPATH)
export PATH=$PATH:$GOPATH/bin