-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
46 lines (32 loc) · 1.23 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
export CLICOLOR=1
export GREP_OPTIONS='--color=auto'
setopt prompt_subst
autoload -Uz vcs_info
zstyle ':vcs_info:*' actionformats \
'%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f '
zstyle ':vcs_info:*' formats \
'%F{5}[%F{2}%b%F{5}]%f '
zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r'
zstyle ':vcs_info:*' enable git cvs svn
# or use pre_cmd, see man zshcontrib
vcs_info_wrapper() {
vcs_info
if [ -n "$vcs_info_msg_0_" ]; then
echo "%{$fg[grey]%}${vcs_info_msg_0_}%{$reset_color%}$del"
fi
}
PS1='%F{3}%3~ $(vcs_info_wrapper)%f$ '
export HISTCONTROL=ignoredups
export HISTFILESIZE=100000
alias dnsflush='sudo killall -HUP mDNSResponder'
alias ec='git diff --name-only | uniq | xargs mate'
export EDITOR=/usr/bin/vim
export NVM_DIR="/Users/mglidden/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
export PATH="/usr/local/opt/postgresql/bin:/opt/apache-maven/bin:$PATH"
source ~/tulip/tulip/scripts/setPaths.source.sh
autoload -U +X bashcompinit && bashcompinit
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
export PATH="/usr/local/opt/awscli@1/bin:/usr/local/sbin:$PATH"
export GOPATH=$HOME/go
export PATH=/usr/local/go/bin:$GOPATH/bin:$PATH