# HG changeset patch # User Dirk Olmes # Date 1407942352 -7200 # Node ID c509ce04abad8bcf577ffe4173e4f27637323211 # Parent d7dbed316e60d1598beac85a5da6797c6f2ad817 better history handling diff -r d7dbed316e60 -r c509ce04abad zshrc --- a/zshrc Wed Aug 13 16:54:56 2014 +0200 +++ b/zshrc Wed Aug 13 17:05:52 2014 +0200 @@ -32,9 +32,11 @@ mcd() { mkdir $1; cd $1 } psg() { ps auxww | grep -v grep | grep -i "$@" } alias pd=pushd +alias history="history 1" # no history handling for now ... or find a better way to save history per shell not across all shells export HISTFILE= +export HISTSIZE=100 # emulate tcsh's behaviour for forked processes: do not warn, do not kill when shell is closed setopt nohup