2019-11-06 09:20:20 +00:00
|
|
|
# install zplugin if it's not already installed
|
2019-10-26 17:05:31 +00:00
|
|
|
if [ ! -f ~/.zplugin/bin/zplugin.zsh ]; then
|
|
|
|
mkdir ~/.zplugin
|
|
|
|
git clone https://github.com/zdharma/zplugin.git ~/.zplugin/bin
|
|
|
|
fi
|
|
|
|
|
|
|
|
source ~/.zplugin/bin/zplugin.zsh
|
|
|
|
|
|
|
|
# pure prompt
|
2019-10-28 07:42:43 +00:00
|
|
|
zplugin ice load multisrc'{async,pure}.zsh'
|
2019-10-26 17:05:31 +00:00
|
|
|
zplugin light sindresorhus/pure
|
|
|
|
|
|
|
|
# substring search
|
2019-10-28 07:40:15 +00:00
|
|
|
zplugin ice lucid
|
2019-10-26 17:05:31 +00:00
|
|
|
zplugin light zsh-users/zsh-history-substring-search
|
|
|
|
|
2019-11-06 09:20:20 +00:00
|
|
|
# omz tab completion etc
|
|
|
|
zplugin ice lucid
|
2019-10-26 17:05:31 +00:00
|
|
|
zplugin snippet OMZ::lib/completion.zsh
|
|
|
|
|
|
|
|
# fzf git awesomeness
|
|
|
|
zplugin ice wait'1' lucid atload'source $HOME/.config/zsh/03-functions.zsh'
|
|
|
|
zplugin light wfxr/forgit
|
|
|
|
|
2019-11-06 09:20:20 +00:00
|
|
|
# lots of completions
|
|
|
|
zplugin ice wait'1' lucid as'completion'
|
|
|
|
zplugin light zsh-users/zsh-completions
|
|
|
|
|
2019-11-06 10:36:37 +00:00
|
|
|
# fzf completions
|
|
|
|
zplugin ice wait'1' lucid as'completion'
|
|
|
|
zplugin snippet /usr/share/fzf/completion.zsh
|
|
|
|
|
2019-10-26 17:05:31 +00:00
|
|
|
# dotdrop completion
|
|
|
|
zplugin ice wait'1' lucid as'completion'
|
|
|
|
zplugin snippet $DOTREPO/dotdrop/completion/_dotdrop-completion.zsh
|
|
|
|
|
2019-10-28 07:31:31 +00:00
|
|
|
# docker-compose completion
|
|
|
|
zplugin ice wait'1' lucid as'completion'
|
|
|
|
zplugin snippet https://raw.githubusercontent.com/docker/compose/master/contrib/completion/zsh/_docker-compose
|
|
|
|
|
2019-10-26 17:05:31 +00:00
|
|
|
# syntax highlighting
|
2019-10-28 07:40:15 +00:00
|
|
|
zplugin ice lucid atinit'zpcompinit'
|
2019-10-26 17:05:31 +00:00
|
|
|
zplugin light zdharma/fast-syntax-highlighting
|
|
|
|
|
|
|
|
# use fzf with zsh
|
|
|
|
source /usr/share/fzf/key-bindings.zsh
|
|
|
|
source /usr/share/fzf/completion.zsh
|