From 1bbef005e5fbceeaad03f8316e4d22cec949161c Mon Sep 17 00:00:00 2001 From: tomit4 Date: Wed, 15 Jun 2022 01:12:49 -0700 Subject: [PATCH] added history components to zshrc --- zshrc.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zshrc.txt b/zshrc.txt index 1a9282b0..4a2ffbdd 100644 --- a/zshrc.txt +++ b/zshrc.txt @@ -21,6 +21,12 @@ export LESS_TERMCAP_us=$'\e[1;4;33m' # Formats history command with dates/times export HISTTIMEFORMAT="%d/%m/%y %T " +# Sets default for history command +export HISTSIZE=2000 +export HISTFILESIZE=100000 +export HISTFILE="$HOME/.zsh_history" +export SAVEHIST=$HISTSIZE +setopt hist_ignore_all_dups # Configure thefuck eval "$(thefuck --alias)"