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

6
zshrc
View File

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