From ec51803e442cc80d341c1ea1b84b91976cc7a7ec Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Sat, 8 May 2010 04:43:50 -0700 Subject: [PATCH] shortening history for quick exit --- .gitconfig | 2 +- .zshrc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitconfig b/.gitconfig index 868fef8..d4f0b1d 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,3 +1,3 @@ [user] name = Hunter Haugen - email = hunner@cat.pdx.edu + email = h.haugen@gmail.com diff --git a/.zshrc b/.zshrc index ddd4a2b..c772aee 100644 --- a/.zshrc +++ b/.zshrc @@ -1,5 +1,5 @@ # Options -setopt appendhistory autocd extendedglob nomatch notify dvorak # correct +setopt appendhistory hist_ignore_all_dups autocd extendedglob nomatch notify dvorak # correct unsetopt beep bindkey -e zstyle :compinstall filename '~/.zshrc' @@ -62,8 +62,8 @@ fi export GEM_HOME="$HOME/.gems" export GEM_PATH="$GEM_HOME:/usr/lib/ruby/gems/1.8" zshhosts=(serenity.cat.pdx.edu hunner@mint.cic.pdx.edu drkatz.cat.pdx.edu walt.ece.pdx.edu bunny.cat.pdx.edu spof.cat.pdx.edu fops.cat.pdx.edu narsil.cat.pdx.edu hunner@odin.pdx.edu hunnur@alcmaeonllc.com mir.cat.pdx.edu geppetto.cat.pdx.edu) -HISTSIZE=10000 -SAVEHIST=10000 +HISTSIZE=1000 +SAVEHIST=1000 HISTFILE=~/.history PS1="%m%# " export LANG="en_US.UTF-8"