-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
42 lines (31 loc) · 1.15 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
# Path to your oh-my-zsh installation.
export ZSH=/Users/natdempk/.oh-my-zsh
ZSH_THEME="robbyrussell"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git)
# User configuration
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
export GOPATH=$HOME/Projects/gocode
export PATH=$PATH:$GOPATH/bin
source $ZSH/oh-my-zsh.sh
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
export EDITOR='vim'
export PIP_REQUIRE_VIRTUALENV=true
gpip(){
PIP_REQUIRE_VIRTUALENV="" pip "$@"
}
gpip3(){
PIP_REQUIRE_VIRTUALENV="" pip3 "$@"
}
# aliases
alias zshrc="vim ~/.zshrc"
alias dotfiles="cd ~/Projects/dotfiles/"
# alias ohmyzsh="mate ~/.oh-my-zsh"
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
# OPAM configuration
. /Users/natdempk/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true