comparison zshrc @ 12:13e0030ddaad

ignore duplicate history entries
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 06 Dec 2011 15:43:46 +0100
parents 6c4ab833e66d
children f6fdf0fe99c3
comparison
equal deleted inserted replaced
11:fb0e9740a20c 12:13e0030ddaad
25 export HISTFILE= 25 export HISTFILE=
26 26
27 # emulate tcsh's behaviour for forked processes: do not warn, do not kill when shell is closed 27 # emulate tcsh's behaviour for forked processes: do not warn, do not kill when shell is closed
28 setopt nohup 28 setopt nohup
29 setopt no_check_jobs 29 setopt no_check_jobs
30
31 setopt hist_ignore_all_dups
30 32
31 # $HOST can either be just the host name or the FQDN. Standardize on the raw host name 33 # $HOST can either be just the host name or the FQDN. Standardize on the raw host name
32 export HOST=`echo $HOST | awk -F '.' '{ print $1 }'` 34 export HOST=`echo $HOST | awk -F '.' '{ print $1 }'`
33 35
34 # utility function that is used by various other modules 36 # utility function that is used by various other modules