This repository has been archived on 2023-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles.old/home/config/zsh/02-plugins.zsh

14 lines
527 B
Bash
Raw Normal View History

2023-05-16 18:45:42 +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 \
plugins/{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'
znap source marlonrichert/zsh-autocomplete