15 lines
670 B
Cheetah
15 lines
670 B
Cheetah
[[ -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,helm,{{- if eq .chezmoi.os "darwin" }}brew,{{end}}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
|