1
Fork 0
dots/zsh/zsh-options
2024-11-12 02:43:32 +05:00

30 lines
674 B
Bash

create_dir "$HOME/.local/state/zsh"
HISTFILE="$HOME/.local/state/zsh/history"
HISTSIZE=65536
SAVEHIST=$HISTSIZE
setopt AUTO_CD
setopt HIST_IGNORE_DUPS
setopt HIST_VERIFY
setopt INC_APPEND_HISTORY
setopt RM_STAR_SILENT
setopt NO_BEEP
setopt MULTIOS
bindkey -e
stty stop undef
zle_highlight=("paste:none")
if command -v starship &> /dev/null; then
eval "$(starship init zsh)"
else
[ ! -d "$HOME/.local/share/zsh/plugins/pure" ] &&
git clone "https://github.com/sindresorhus/pure" "$HOME/.local/share/zsh/plugins/pure"
fpath+="$HOME/.local/share/zsh/plugins/pure"
safe_source "$HOME/.local/share/zsh/plugins/pure/pure.zsh"
fi
# vim: filetype=zsh