Skip to content

Commit 9d9af67

Browse files
committed
correct zsh history settings
1 parent 5729d64 commit 9d9af67

File tree

1 file changed

+4
-5
lines changed
  • .devcontainer/features/bash-config/config

1 file changed

+4
-5
lines changed

.devcontainer/features/bash-config/config/zshrc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66
# but you are then free to edit it
77

88
# set up eternal history for zsh
9-
export HISTCONTROL=ignoreboth:erasedups
10-
export HISTSIZE=-1
11-
export HISTFILESIZE=-1
12-
export SAVEHIST=-1
13-
export HISTFILE=$CONFIG_FOLDER/.zsh_eternal_history
9+
HISTCONTROL=ignoreboth:erasedups
10+
HISTSIZE=10000000
11+
SAVEHIST=$HISTSIZE
12+
HISTFILE=$CONFIG_FOLDER/.zsh_eternal_history
1413

1514
# set a theme compatible with vscode terminals
1615
ZSH_THEME="dst"

0 commit comments

Comments
 (0)