This commit is contained in:
Belal Elsabbagh
2025-12-15 12:36:24 +02:00
parent 89bc2940dd
commit 96cbac195e
3 changed files with 27 additions and 6 deletions

4
.zshrc
View File

@@ -1,7 +1,7 @@
# Set the directory we want to store zinit and plugins
ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git"
# Source/Load zinit
[ ! -d $ZINIT_HOME ] && mkdir -p "$(dirname $ZINIT_HOME)"
[ ! -d $ZINIT_HOME/.git ] && git clone https://github.com/zdharma-continuum/zinit.git "$ZINIT_HOME"
source "${ZINIT_HOME}/zinit.zsh"
# Add in zsh plugins