From 96033e5fbfd57d277b847e42a7315e9a9c8f06ba Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 28 Jun 2016 17:16:51 -0700 Subject: [PATCH] Add check for sparkleshare in history file --- dotfiles/lib/zsh/history.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dotfiles/lib/zsh/history.sh b/dotfiles/lib/zsh/history.sh index 93fecc8b..f108b6de 100644 --- a/dotfiles/lib/zsh/history.sh +++ b/dotfiles/lib/zsh/history.sh @@ -1,7 +1,9 @@ ## Command history configuration -HISTFILE="$(readlink -f $HOME/.zsh_history)" -HISTSIZE=100000 -SAVEHIST=100000 +export HISTFILE="$(readlink -f $HOME/.zsh_history)" +HISTSIZE=10000000 +SAVEHIST=10000000 + +shell_contains "$HISTFILE" SparkleShare && echo "Warning: sparkleshare in zsh history" setopt share_history # share command history data setopt extended_history