aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/zsh/.config
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-03-16 17:08:21 -0500
committerToby Vincent <tobyv13@gmail.com>2023-03-16 17:08:21 -0500
commit25d0e2e4bc6c225b3783cd32cf0553a334615b3d (patch)
tree7cd06cbaef11179aab0042afbe0ad2d93284070b /zsh/.config
parent80a302868146d39e8301bdeda9f7304e751904e9 (diff)
feat(zsh): add CORRECT_ALL zsh option
Diffstat (limited to 'zsh/.config')
-rw-r--r--zsh/.config/zsh/.zshrc25
1 files changed, 13 insertions, 12 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index 1dec322..3762de8 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -4,21 +4,22 @@
export HYPHEN_INSENSITIVE="true"
export DISABLE_UPDATE_PROMPT="true"
export DISABLE_AUTO_TITLE="true"
-export HISTFILE="$XDG_STATE_HOME"/zsh/history
+export HISTFILE="$XDG_STATE_HOME/zsh/history"
export HISTSIZE=10000
export SAVEHIST=10000
-setopt no_beep
-setopt menu_complete
-setopt auto_pushd # auto push to the directory stack on cd
-setopt auto_cd # cd without args
-setopt extended_history # record timestamp of command in HISTFILE
-setopt hist_expire_dups_first # delete duplicates first when HISTFILE size exceeds HISTSIZE
-setopt hist_ignore_dups # ignore duplicated commands history list
-setopt hist_ignore_space # ignore commands that start with space
-setopt hist_verify # show command with history expansion to user before running it
-setopt share_history # share command history data
-setopt nonomatch
+setopt NO_BEEP
+setopt MENU_COMPLETE
+setopt AUTO_PUSHD
+setopt AUTO_CD
+setopt EXTENDED_HISTORY
+setopt SHARE_HISTORY
+setopt HIST_EXPIRE_DUPS_FIRST
+setopt HIST_IGNORE_DUPS
+setopt HIST_IGNORE_SPACE
+setopt HIST_VERIFY
+setopt NONOMATCH
+setopt CORRECT_ALL
bindkey -v
bindkey -m 2>/dev/null