forked from pat/oh-my-zsh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
executable file
·74 lines (46 loc) · 2.24 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
66
67
68
69
70
71
72
73
74
# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh
export NVM_DIR="$HOME/.nvm"
[ -s "$HOMEBREW_PREFIX/opt/nvm/nvm.sh" ] && \. "$HOMEBREW_PREFIX/opt/nvm/nvm.sh" # This loads nvm
[ -s "$HOMEBREW_PREFIX/opt/nvm/etc/bash_completion.d/nvm" ] && \. "$HOMEBREW_PREFIX/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completio
# Set to this to use case-sensitive completion
# export CASE_SENSITIVE="true"
# Comment this out to disable weekly auto-update checks
# export DISABLE_AUTO_UPDATE="true"
# Uncomment following line if you want to disable colors in ls
# export DISABLE_LS_COLORS="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(bundler docker git postgres ruby rvm nvm rails)
# plugins=(git zsh-nvm)
unsetopt auto_name_dirs
# Customize to your needs...
export PATH="~/.local/bin:~/.rbenv/shims:/usr/local/opt/openssl/bin:/usr/local/bin:/bin:/usr/bin:/Users/marc/bin:/usr/local/Cellar/python/2.7.1/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/Users/marc/.nodenv/shims:/usr/local/opt/icu4c/bin:/usr/local/opt/icu4c/sbin:$PATH"
# eval "$(rbenv init -)"
eval "$(direnv hook zsh)"
# Node
export NODE_PATH=/usr/local/lib/node
# alias rspec='nocorrect bundle exec rspec'
# User configuration
[[ -n "$SSH_CLIENT" ]] || export DEFAULT_USER="Marc"
eval $(thefuck --alias)
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
#Add path for GO
export GOPATH="$HOME/Code/go"
export PATH="$GOPATH/bin:$PATH"
export GOBIN="$HOME/Code/go/bin"
bindkey "^[[3~" delete-char
if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
export BUNDLER_EDITOR="vi"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# [[ -s "$HOME/.avn/bin/avn.sh" ]] && source "$HOME/.avn/bin/avn.sh" # load avn
export PATH="$HOME/.yarn/bin:$PATH"
# BEGIN DOCKER-IMAGES
# END DOCKER-IMAGES
# Set to the name theme to load.
# Look in ~/.oh-my-zsh/themes/
export ZSH_THEME="maleko"
source $ZSH/oh-my-zsh.sh
source /opt/homebrew/share/antigen/antigen.zsh
eval "$(starship init zsh)"