44 lines
1.1 KiB
Bash
44 lines
1.1 KiB
Bash
|
source ~/.zplug/init.zsh
|
||
|
|
||
|
export ZSH_TMUX_AUTOSTART=true
|
||
|
export ZSH_TMUX_AUTOSTART_ONCE=true
|
||
|
export ZSH_TMUX_AUTOCONNECT=true
|
||
|
|
||
|
zplug "zplug/zplug", hook-build:'zplug --self-manage'
|
||
|
|
||
|
|
||
|
zplug "QiaoHao9/ys", as:theme
|
||
|
zplug "zsh-users/zsh-syntax-highlighting"
|
||
|
zplug "zsh-users/zsh-autosuggestions"
|
||
|
zplug "zsh-users/zsh-completions"
|
||
|
|
||
|
zplug "zsh-users/zsh-history-substring-search"
|
||
|
zplug "mattbangert/kubectl-zsh-plugin"
|
||
|
zplug "greymd/docker-zsh-completion"
|
||
|
zplug "pkulev/zsh-rustup-completion"
|
||
|
zplug "g-plane/zsh-yarn-autocompletions", hook-build:"./zplug.zsh", defer:2
|
||
|
|
||
|
zplug "plugins/tmux", from:oh-my-zsh
|
||
|
zplug "plugins/git", from:oh-my-zsh
|
||
|
zplug "plugins/docker", from:oh-my-zsh
|
||
|
zplug "plugins/composer", from:oh-my-zsh
|
||
|
zplug "plugins/extract", from:oh-my-zsh
|
||
|
zplug "lib/completion", from:oh-my-zsh
|
||
|
zplug "plugins/sudo", from:oh-my-zsh
|
||
|
zplug "b4b4r07/enhancd", use:init.sh
|
||
|
|
||
|
zplug "$HOME/.zsh", from:local, use:"*.zsh"
|
||
|
|
||
|
# Install plugins if there are plugins that have not been installed
|
||
|
if ! zplug check --verbose; then
|
||
|
printf "Install? [y/N]: "
|
||
|
if read -q; then
|
||
|
echo; zplug install
|
||
|
fi
|
||
|
fi
|
||
|
|
||
|
# Then, source plugins and add commands to $PATH
|
||
|
zplug load
|
||
|
|
||
|
|