dotfiles/dot_config/zsh/02-plugins.zsh.tmpl

16 lines
670 B
Cheetah
Raw Normal View History

2023-10-10 20:22:26 +00:00
[[ -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 \
2023-12-11 10:23:27 +00:00
plugins/{docker,kubectl,helm,{{- if eq .chezmoi.os "darwin" }}brew,{{end}}git,grc,fzf,zoxide,terraform}
2023-10-10 20:22:26 +00:00
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 _buildr 'buildr completion zsh'
2023-10-10 20:22:26 +00:00
znap source marlonrichert/zsh-autocomplete