-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathzplugrc
33 lines (29 loc) · 1.23 KB
/
zplugrc
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
if [[ ! -d ~/.zplug ]]; then
git clone https://github.com/zplug/zplug ~/.zplug
source ~/.zplug/init.zsh && zplug update --self
else
export ZPLUG_HOME=~/.zplug
source $ZPLUG_HOME/init.zsh
fi
zplug "~/.zsh", from:local, use:"ruby.zsh"
zplug "~/.zsh", from:local, use:"awscli-vars.zsh", defer:2
zplug "~/.zsh", from:local, use:"java-osx.zsh", if:"[[ $OSTYPE == *darwin* ]]", defer:2
#zplug "plugins/emacs", from:oh-my-zsh, as:plugin
#zplug "plugins/brew", from:oh-my-zsh, as:plugin
#zplug "plugins/gem", from:oh-my-zsh, as:plugin
#zplug "plugins/git", from:oh-my-zsh, as:plugin
#zplug "plugins/heroku", from:oh-my-zsh, as:plugin
#zplug "plugins/tmux", from:oh-my-zsh, as:plugin
zplug "zsh-users/zsh-syntax-highlighting", defer:3
zplug "zsh-users/zsh-history-substring-search"
zplug "zsh-users/zsh-completions"
zplug "zsh-users/zsh-autosuggestions"
zplug "djui/alias-tips"
zplug "greymd/docker-zsh-completion"
zplug "lukechilds/zsh-nvm", from:github, as:plugin
#zplug "lukechilds/zsh-better-npm-completion", from:github, defer:2
zplug "~/.zsh", from:local, use:murilasso.zsh-theme, as:theme
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
# Then, source plugins and add commands to $PATH
zplug load