# this is my zsh config. there are many like it, but this one is mine. # https://zsh.sourceforge.io/Intro/intro_3.html # shellcheck shell=bash # export VERBOSE=1 # export DEBUG=1 autoload -U promptinit; promptinit export DOTFILES="$HOME/.dotfiles" # Minimal PATH for x-have and utilities; full PATH set in shared.sh/exports export PATH="$HOME/.local/bin:$DOTFILES/local/bin:$PATH" export SHARED_SCRIPTS_SOURCED=0 source "$DOTFILES/config/shared.sh" # zsh completions directory (ZSH_CUSTOM_COMPLETION_PATH set in shared.sh) ZSH_COMPDUMP="$XDG_CACHE_HOME/zsh/zcompdump-${SHORT_HOST}-${ZSH_VERSION}" source "$DOTFILES/config/zsh/antidote.zsh" # Function to source FZF configuration source_fzf_config() { local fzf_config="${DOTFILES}/config/fzf/fzf.zsh" if [[ -f "$fzf_config" ]]; then # shellcheck source=config/fzf/fzf.zsh source "$fzf_config" fi } source_fzf_config x-have antidot && eval "$(antidot init)" autoload -Uz compinit bashcompinit compinit -d "$ZSH_COMPDUMP" bashcompinit # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. export P10K_CONFIG="$DOTFILES/config/zsh/p10k.zsh" [[ ! -f "$P10K_CONFIG" ]] || source "$P10K_CONFIG"