Chunk & Split zshrc into smaller files

This commit is contained in:
pfych 2025-02-19 13:47:48 +11:00
parent 1314b22f27
commit 7fd48fb729
5 changed files with 57 additions and 51 deletions

14
.config/zsh/plugins.sh Normal file
View file

@ -0,0 +1,14 @@
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"
# Autocomplete
ZSH_AUTOSUGGEST_USE_ASYNC=true
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
# Prompt
precmd() {
PROMPT="[%c] "
RPROMPT="$(git_super_status)"
}