-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathzshrc
34 lines (26 loc) · 972 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
31
32
33
34
test -r $HOME/.env.local && source $HOME/.env.local
test -r $HOME/.shell-aliases && source $HOME/.shell-aliases
test -r $HOME/.paths && source $HOME/.paths
if [ -f $HOME/.zplug/init.zsh ]; then
source $HOME/.zplug/init.zsh
# compinit
autoload -Uz compinit && compinit
# zplug
zplug "zplug/zplug", hook-build:'zplug --self-manage'
# Plugins from oh my zsh
zplug "plugins/docker", from:oh-my-zsh
zplug "plugins/encode64", from:oh-my-zsh
zplug "plugins/gitfast", from:oh-my-zsh
# Plugins from zsh users
zplug "zsh-users/zsh-autosuggestions"
zplug "zsh-users/zsh-completions"
zplug "zsh-users/zsh-syntax-highlighting", defer:2
# Additional plugins
zplug "denysdovhan/gitio-zsh"
zplug "sptndc/phpenv.plugin.zsh"
zplug "mfaerevaag/wd", as:command, use:"wd.sh", hook-load:"wd() { . $ZPLUG_REPOS/mfaerevaag/wd/wd.sh }"
# Then, source plugins and add commands to $PATH
zplug load # --verbose
# Theme
eval "$(starship init zsh)"
fi