mirror of
https://github.com/GeorgeSG/dotfiles.git
synced 2026-09-06 09:28:45 +00:00
ignore common commands in history
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user