2019-11-06 11:20:20 +02:00
|
|
|
# install zplugin if it's not already installed
|
2019-10-26 20:05:31 +03: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 09:42:43 +02:00
|
|
|
zplugin ice load multisrc'{async,pure}.zsh'
|
2019-10-26 20:05:31 +03:00
|
|
|
zplugin light sindresorhus/pure
|
|
|
|
|
2020-01-04 11:34:51 +02:00
|
|
|
# fzf as tab completion
|
2019-10-28 09:40:15 +02:00
|
|
|
zplugin ice lucid
|
2020-01-04 11:34:51 +02:00
|
|
|
zplugin light Aloxaf/fzf-tab
|
2019-10-26 20:05:31 +03:00
|
|
|
|
2020-01-04 11:34:51 +02:00
|
|
|
# substring search
|
2019-11-06 11:20:20 +02:00
|
|
|
zplugin ice lucid
|
2020-01-04 11:34:51 +02:00
|
|
|
zplugin light zsh-users/zsh-history-substring-search
|
2019-10-26 20:05:31 +03:00
|
|
|
|
|
|
|
# fzf git awesomeness
|
2020-01-13 11:03:59 +02:00
|
|
|
zplugin ice wait'1' lucid atload'source $HOME/.config/zsh/03-aliases.zsh'
|
2019-10-26 20:05:31 +03:00
|
|
|
zplugin light wfxr/forgit
|
|
|
|
|
2019-11-06 11:20:20 +02:00
|
|
|
# lots of completions
|
|
|
|
zplugin ice wait'1' lucid as'completion'
|
|
|
|
zplugin light zsh-users/zsh-completions
|
|
|
|
|
2019-12-12 14:50:50 +02:00
|
|
|
# swaymsg completions
|
|
|
|
zplugin ice wait'1' lucid as'completion'
|
|
|
|
zplugin snippet https://gist.githubusercontent.com/RPigott/a3efdc08fa4d5fd7df38d091ab5e8532/raw/867ac1884d97d1bd1e5d4037d4eefdf4a004e72b/_swaymsg
|
|
|
|
|
2019-10-26 20:05:31 +03:00
|
|
|
# dotdrop completion
|
|
|
|
zplugin ice wait'1' lucid as'completion'
|
2020-01-18 18:48:16 +02:00
|
|
|
zplugin snippet '$DOTREPO/dotdrop/completion/_dotdrop-completion.zsh'
|
2019-10-26 20:05:31 +03:00
|
|
|
|
2019-10-28 09:31:31 +02: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 20:05:31 +03:00
|
|
|
# syntax highlighting
|
2019-10-28 09:40:15 +02:00
|
|
|
zplugin ice lucid atinit'zpcompinit'
|
2019-10-26 20:05:31 +03:00
|
|
|
zplugin light zdharma/fast-syntax-highlighting
|
|
|
|
|
|
|
|
# use fzf with zsh
|
|
|
|
source /usr/share/fzf/key-bindings.zsh
|
|
|
|
source /usr/share/fzf/completion.zsh
|