-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzshrc
More file actions
39 lines (32 loc) · 1.13 KB
/
zshrc
File metadata and controls
39 lines (32 loc) · 1.13 KB
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
export ZPLUG_HOME=~/.zplug
if [[ ! -d $ZPLUG_HOME ]]; then
git clone https://github.com/zplug/zplug $ZPLUG_HOME
fi
source $ZPLUG_HOME/init.zsh
export TERM="xterm-256color"
export PATH=$HOME/bin:/Users/xzhang/Library/Python/3.7/bin:PATH=$HOME/.composer/vendor/bin:/usr/local/bin:/usr/local/sbin:$PATH
export REACT_EDITOR=nvim
export GIT_EDITOR=nvim
export EDITOR=nvim
autoload -Uz colors; colors
autoload -Uz is-at-least; is-at-least
setopt prompt_subst
zplug "zplug/zplug"
zplug "robbyrussell/oh-my-zsh", use:oh-my-zsh.sh
zplug "mafredri/zsh-async", from:github
zplug "sindresorhus/pure", use:pure.zsh, from:github, as:theme
zplug "plugins/git", from:oh-my-zsh
zplug "plugins/thefuck", from:oh-my-zsh, defer:2
zplug "plugins/autojump", from:oh-my-zsh, defer:2
zplug "plugins/vi-mode", from:oh-my-zsh, defer:2
zplug "plugins/common-aliases", from:oh-my-zsh, defer:2
zplug "plugins/compleat", from:oh-my-zsh, defer:2
if ! zplug check --verbose; then
printf "Install? [y/N]: "
if read -q; then
echo; zplug install
fi
fi
zplug load --verbose
setopt no_share_history
alias nginxerror="tail -f /usr/local/var/log/nginx/error.log"