-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
30 lines (21 loc) · 772 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
# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
if [ -f ~/.zshrc.local ]; then
. ~/.zshrc.local
fi
# Update git submodules to master
alias gsnewest='git submodule foreach git pull origin master'
# Put the shell into vi mode
bindkey -v
# print the ssh client ip
alias -g SSHR="echo $SSH_CLIENT | awk '{print $1}'"
# Pass failed globs to commands
unsetopt nomatch
# net rpc shutdown -I <machinename> -U user
export HISTTIMEFORMAT='%F %T '
# added by travis gem
[ -f /Users/eve/.travis/travis.sh ] && source /Users/eve/.travis/travis.sh
#THIS MUST BE AT THE END OF THE FILE FOR GVM TO WORK!!!
[[ -s "/Users/eliang/.gvm/bin/gvm-init.sh" ]] && source "/Users/eliang/.gvm/bin/gvm-init.sh"