dotfiles/dot_config/zsh/02-plugins.zsh

15 lines
620 B
Bash

[[ -f $ZNAP_HOME/znap.zsh ]] ||
git clone --depth 1 https://github.com/marlonrichert/zsh-snap.git $ZNAP_HOME
source $ZNAP_HOME/znap.zsh
znap source ohmyzsh/ohmyzsh \
plugins/{docker,kubectl,git,grc,fzf,zoxide,terraform}
command -v golangci-lint &> /dev/null && znap fpath _golangci-lint 'golangci-lint completion zsh'
command -v goreleaser &> /dev/null && znap fpath _goreleaser 'goreleaser completion zsh'
command -v mockery &> /dev/null && znap fpath _mockery 'mockery completion zsh'
command -v buildr&> /dev/null && znap fpath _mockery 'buildr completion zsh'
znap source marlonrichert/zsh-autocomplete