Override for local antigen configuration. Fixed loading without base configuration for distro.

This commit is contained in:
Emiliano Vavassori 2023-12-30 15:10:01 +01:00
parent e8d32e67b5
commit 56caa25528
1 changed files with 23 additions and 17 deletions

6
zshrc
View File

@ -11,9 +11,14 @@ autoload -Uz compaudit compinit
compinit
# zsh packages from system
if [[ -f ${DOTFILES}/zsh/distro.base.zsh ]]; then
source ${DOTFILES}/zsh/distro.base.zsh
fi
# Antigen config
if [[ -f ${HOME}/.zsh/antigen.conf.zsh ]]; then
source ${HOME}/.zsh/antigen.conf.zsh
else
source ${DOTFILES}/zsh/antigen.zsh
antigen bundle command-not-found
antigen bundle common-aliases
@ -30,6 +35,7 @@ antigen bundle systemd
antigen bundle z
antigen bundle sunlei/zsh-ssh
antigen apply
fi
# configuring fzf plugin for tmux
export ZSH_TMUX_CONFIG=${HOME}/.config/tmux/tmux.conf