Use submodules for other zsh plugins

This commit is contained in:
pfych 2025-02-19 13:30:44 +11:00
parent eadd69b0c6
commit 1314b22f27
4 changed files with 10 additions and 7 deletions

9
.zshrc
View file

@ -9,15 +9,8 @@ if [[ $(uname) == "Darwin" ]]; then
export ANDROID_SDK_ROOT=/Users/$USER/Library/Android/sdk
alias date=gdate;
eval "$(rbenv init - zsh)"
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
else
export PATH="${PATH}:${HOME}/.local/bin:/usr/local/sbin:${HOME}/.local/share/gem/ruby/2.0.0/bin:/usr/local/bin"
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
fi
# Config
@ -27,6 +20,8 @@ export EDITOR=nvim
# Plugins
source "$CONFIGDIR/zsh/plugins/zsh-git-prompt/zshrc.sh"
source "$CONFIGDIR/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
source "$CONFIGDIR/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh"
# Use NVIM
alias vim=nvim