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

40
zshrc
View File

@ -11,25 +11,31 @@ autoload -Uz compaudit compinit
compinit compinit
# zsh packages from system # zsh packages from system
source ${DOTFILES}/zsh/distro.base.zsh if [[ -f ${DOTFILES}/zsh/distro.base.zsh ]]; then
source ${DOTFILES}/zsh/distro.base.zsh
fi
# Antigen config # Antigen config
source ${DOTFILES}/zsh/antigen.zsh if [[ -f ${HOME}/.zsh/antigen.conf.zsh ]]; then
antigen bundle command-not-found source ${HOME}/.zsh/antigen.conf.zsh
antigen bundle common-aliases else
antigen bundle copyfile source ${DOTFILES}/zsh/antigen.zsh
antigen bundle fd antigen bundle command-not-found
antigen bundle fzf antigen bundle common-aliases
antigen bundle git antigen bundle copyfile
antigen bundle pip antigen bundle fd
antigen bundle python antigen bundle fzf
antigen bundle rsync antigen bundle git
antigen bundle sudo antigen bundle pip
antigen bundle systemadmin antigen bundle python
antigen bundle systemd antigen bundle rsync
antigen bundle z antigen bundle sudo
antigen bundle sunlei/zsh-ssh antigen bundle systemadmin
antigen apply antigen bundle systemd
antigen bundle z
antigen bundle sunlei/zsh-ssh
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