[ ! -f $XDG_DATA_HOME/zsh/history ] && mkdir -p $XDG_DATA_HOME/zsh && touch $XDG_DATA_HOME/zsh/history setopt HIST_IGNORE_ALL_DUPS HIST_REDUCE_BLANKS HIST_VERIFY BANG_HIST interactive_comments autocd noflowcontrol longlistjobs nonomatch notify hash_list_all share_history histignorespace PROMPT_SUBST autoload -Uz colors && colors autoload -Uz edit-command-line && zle -N edit-command-line autoload -Uz add-zsh-hook autoload -Uz compinit autoload -Uz edit-command-line zstyle ':completion:*' menu select zmodload zsh/complist compinit _comp_options+=(globdots) zle_highlight+=(paste:none) PROMPT='%B%F{blue}%n%F{cyan}@%F{blue}%m %F{magenta}[%f%3~%F{magenta}] %(?.%F{green}.%F{red})ยป%f%b ' RPROMPT='%(?..%F{red}%?) $(venv_prompt)' # Set the titlestring add-zsh-hook preexec write_title_cmd add-zsh-hook precmd write_title_wd # add-zsh-hook preexec reset_beam