# General options setopt autocd setopt nobgnice # Run bg jobs at normal priority setopt nonotify # Don't notify when bg jobs complete setopt nobeep # History config HISTFILE="${XDG_CACHE_HOME:-${HOME}/.cache}/zsh/history" HISTSIZE=10000 SAVEHIST=10000 [[ !( -f "${HISTFILE}" ) ]] && mkdir -p $(dirname ${HISTFILE}) setopt HIST_IGNORE_DUPS # Completion autoload -Uz compinit zstyle ':completion:*' menu select zmodload zsh/complist compinit _comp_options+=(globdots) # Include hidden files # Colors autoload -U colors && colors # Prompt PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b " # Aliases source "${XDG_CONFIG_HOME:-${HOME}/.config}/.aliasrc" # Autosuggest source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh 2>/dev/null # Highlighting source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh 2>/dev/null # History substring search source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.plugin.zsh 2>/dev/null