1
0
Fork 0
dotfiles/common/.config/zsh/config/options.zsh

39 lines
656 B
Bash
Raw Normal View History

2024-11-11 18:41:26 +01:00
# NOTE: History
[ ! -f "$XDG_DATA_HOME/zsh/history" ] &&
mkdir -p "$XDG_DATA_HOME/zsh" &&
touch "$XDG_DATA_HOME/zsh/history"
HISTFILE="$XDG_DATA_HOME/zsh/history"
HISTSIZE=10000000
SAVEHIST=10000000
setopt \
BANG_HIST \
HIST_FIND_NO_DUPS \
HIST_IGNORE_ALL_DUPS \
HIST_IGNORE_DUPS \
HIST_IGNORE_SPACE \
HIST_REDUCE_BLANKS \
HIST_SAVE_NO_DUPS \
HIST_VERIFY \
SHARE_HISTORY
# NOTE: Other
KEYTIMEOUT=1
setopt \
AUTO_CD \
HASH_LIST_ALL \
INTERACTIVE_COMMENTS \
LONG_LIST_JOBS \
NOTIFY \
PROMPT_SUBST \
GLOB_DOTS
unsetopt \
FLOW_CONTROL \
NOMATCH
zle_highlight+=(paste:none)