diff zshrc @ 51:c509ce04abad

better history handling
author Dirk Olmes <dirk@xanthippe.ping.de>
date Wed, 13 Aug 2014 17:05:52 +0200
parents 9cc72008cf08
children 93e011f2a836
line wrap: on
line diff
--- 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