Add 16 files (16+ files changed)

This commit is contained in:
2026-08-01 07:19:37 -04:00
parent 112a003e51
commit 899a1aa1ab
17 changed files with 1073 additions and 0 deletions
+54
View File
@@ -0,0 +1,54 @@
# first, run this from an interactive zsh terminal session:
if [[ -e "${ZDOTDIR}/.antidote" && ! -d "${ZDOTDIR}/.antidote" ]]; then
mkdir -p "${ZDOTDIR}/.antidote" && chmod 700 "${ZDOTDIR}/.antidote"
git clone --depth=1 https://github.com/mattmc3/antidote.git ${ZDOTDIR}/.antidote
fi
zsh_plugins=${ZDOTDIR}/.zsh_plugins
[[ -f ${zsh_plugins}.txt ]] || touch ${zsh_plugins}.txt
# source antidote
source ${ZDOTDIR}/.antidote/antidote.zsh
# Eza plugin options
zstyle ':omz:plugins:eza' dirs-first yes
zstyle ':omz:plugins:eza' git-status yes
zstyle ':omz:plugins:eza' header yes
zstyle ':omz:plugins:eza' show-group yes
zstyle ':omz:plugins:eza' icons yes
zstyle ':omz:plugins:eza' color-scale all
zstyle ':omz:plugins:eza' color-scale-mode fixed
zstyle ':omz:plugins:eza' size-prefix si
# Note: 'hyperlink' is omitted as per your comment
# Completion settings
zstyle ':completion:*' menu select
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
zstyle ':completion:*' special-dirs true
export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}"
# Ensure directories exist
mkdir -p "$XDG_CACHE_HOME/zsh"
export HISTFILE="$XDG_CACHE_HOME/zsh/history"
export ZSH_COMPDUMP="$XDG_CACHE_HOME/zsh/zcompdump-${HOST}-${ZSH_VERSION}"
export HISTSIZE=10000
export SAVEHIST=10000
setopt SHARE_HISTORY
setopt HIST_IGNORE_ALL_DUPS
setopt HIST_REDUCE_BLANKS
setopt HIST_FCNTL_LOCK
setopt AUTO_CD
setopt AUTO_LIST
setopt INTERACTIVE_COMMENTS
setopt HIST_VERIFY
setopt EXTENDED_HISTORY
setopt AUTO_PUSHD
setopt PUSHD_IGNORE_DUPS
setopt PUSHD_SILENT
# initialize plugins statically with ${ZDOTDIR:-$HOME}/.zsh_plugins.txt
antidote load