2023-08-21 09:56:16 +00:00
|
|
|
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
|
2024-11-11 21:43:32 +00:00
|
|
|
setopt MULTIOS
|
2023-08-21 09:56:16 +00:00
|
|
|
|
2023-08-30 02:00:57 +00:00
|
|
|
bindkey -e
|
|
|
|
|
2023-08-21 09:56:16 +00:00
|
|
|
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" ] &&
|
2024-04-22 11:08:56 +00:00
|
|
|
git clone "https://github.com/sindresorhus/pure" "$HOME/.local/share/zsh/plugins/pure"
|
2023-08-21 09:56:16 +00:00
|
|
|
|
|
|
|
fpath+="$HOME/.local/share/zsh/plugins/pure"
|
|
|
|
safe_source "$HOME/.local/share/zsh/plugins/pure/pure.zsh"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# vim: filetype=zsh
|