mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-12-12 08:56:56 +00:00
Auto-clone zgenom if not present
This commit is contained in:
parent
bbb8e9f79d
commit
e4b7fe0234
1 changed files with 8 additions and 1 deletions
|
|
@ -1,5 +1,12 @@
|
|||
ZGENOM_DIR="${ZDOTDIR}/.zgenom"
|
||||
|
||||
# Clone zgenom if it's not present yet
|
||||
if [[ ! -d "$ZGENOM_DIR" ]]; then
|
||||
git clone https://github.com/jandamm/zgenom "$ZGENOM_DIR"
|
||||
fi
|
||||
|
||||
# Load zgenom (plugin manager for ZSH)
|
||||
source "${ZDOTDIR}/.zgenom/zgenom.zsh"
|
||||
source "${ZGENOM_DIR}/.zgenom/zgenom.zsh"
|
||||
|
||||
# Check for zgenom updates
|
||||
# This does not increase startup time
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue