aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2022-12-14 21:06:22 +0900
committernsfisis <nsfisis@gmail.com>2022-12-15 22:07:17 +0900
commitc9a3f9a55ea7587dd566a596a5ba556060b288c4 (patch)
tree9d8607aff14ffd263677d3c31cbcdf3273a1365c
parent3b13b534ace75a38eea68dfe69300689a7b5ad45 (diff)
downloaddotfiles-c9a3f9a55ea7587dd566a596a5ba556060b288c4.tar.gz
dotfiles-c9a3f9a55ea7587dd566a596a5ba556060b288c4.tar.zst
dotfiles-c9a3f9a55ea7587dd566a596a5ba556060b288c4.zip
zsh: chore
-rw-r--r--.zshrc6
1 files changed, 2 insertions, 4 deletions
diff --git a/.zshrc b/.zshrc
index b07fb43..5990946 100644
--- a/.zshrc
+++ b/.zshrc
@@ -103,7 +103,7 @@ setopt NUMERIC_GLOB_SORT
# History #
###########
-# Do not beep when refer to unexisting history.
+# Do not beep when you refer to unexisting history record.
setopt NO_HIST_BEEP
# Erase oldest duplicate history when history file is full.
@@ -223,9 +223,6 @@ bindkey '^S' history-incremental-pattern-search-forward
autoload -Uz zmv
-# history command's format
-HISTTIMEFORMAT="[%Y/%M/%D %H:%M:%S] "
-
# Limit of completion list
LISTMAX=1000
@@ -321,6 +318,7 @@ PROMPT2="%63F❯%62F❯%61F❯%f "
SPROMPT="%179F%BDid you mean %r? (n/y):%b%f "
+HISTTIMEFORMAT="[%Y/%M/%D %H:%M:%S] "
HISTFILE="$XDG_STATE_HOME/zsh/history"
HISTSIZE=1000000
SAVEHIST=1000000