ignore common commands in history

This commit is contained in:
Georgi Gardev
2024-03-05 15:49:43 +02:00
parent 75eec352cb
commit ade4e7d527
+1
View File
@@ -20,6 +20,7 @@ autoload -Uz compinit && compinit
HISTFILE=${ZDOTDIR:-$HOME}/.zsh_history
SAVEHIST=50000
HISTSIZE=10000
HISTORY_IGNORE="(ls|cd|pwd|zsh|exit|cd ..)"
setopt extended_history # record start time and elapsed time in history file
setopt share_history # share history across multiple zsh sessions