# Set up zsh for interactive use (options, prompt, aliases, etc.) source "$ZDOTDIR/aliases.zsh" source "$ZDOTDIR/completion.zsh" source "$ZDOTDIR/history.zsh" source "$ZDOTDIR/line-editor.zsh" source "$ZDOTDIR/man-pages.zsh" source "$ZDOTDIR/prompt.zsh" if command -v broot >/dev/null 2>&1; then source "$ZDOTDIR/broot.zsh" fi if command -v eza >/dev/null 2>&1; then source "$ZDOTDIR/eza.zsh" fi if command -v fzf >/dev/null 2>&1; then source "$ZDOTDIR/fzf.zsh" fi # Set up autoload for custom functions. fpath=("$ZDOTDIR/functions" $fpath) for filepath in $ZDOTDIR/functions/*; do autoload "${filepath##*/}" done unset filepath # Load additional local configuration if present. local_config="$HOME/.local/etc/zsh/config.zsh" [ -r "$local_config" ] && source "$local_config" unset local_config # Prevent ctrl-s from freezing the terminal. stty stop undef # Allow comments in interactive use. setopt INTERACTIVE_COMMENTS