Mercurial > hg > zsh-env
changeset 51:c509ce04abad
better history handling
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Wed, 13 Aug 2014 17:05:52 +0200 |
parents | d7dbed316e60 |
children | 1e38ed9eb354 |
files | zshrc |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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