mirror of
https://gitea.zaclys.com/yannic/dotfiles.git
synced 2026-06-15 11:11:57 +02:00
Clean history configuration
This commit is contained in:
+2
-12
@@ -74,22 +74,12 @@ fi
|
|||||||
# History
|
# History
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|
||||||
# set the maximum number of lines to be saved in the history file
|
# Allow multiple sessions to append to one Zsh command history.
|
||||||
export HISTSIZE="50000"
|
|
||||||
export SAVEHIST="$HISTSIZE"
|
|
||||||
|
|
||||||
# append new history entries to the history file
|
|
||||||
setopt APPEND_HISTORY
|
setopt APPEND_HISTORY
|
||||||
|
|
||||||
# save each command to the history file as soon as it is executed
|
# Write to the history file immediately, not when the shell exits.
|
||||||
setopt INC_APPEND_HISTORY
|
setopt INC_APPEND_HISTORY
|
||||||
|
|
||||||
# ignore recording duplicate consecutive commands in the history
|
|
||||||
setopt HIST_IGNORE_DUPS
|
|
||||||
|
|
||||||
# ignore commands that start with a space in the history
|
|
||||||
setopt HIST_IGNORE_SPACE
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# Git
|
# Git
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user