# HG changeset patch # User Dirk Olmes # Date 1322905437 -3600 # Node ID 0a35309e7504947f63f9cdfeca41f34a661e40a9 # Parent 6c4ab833e66d0992e4b47cf20614a9592557ad25# Parent 44cb360e19b68bb49bb68d62e2a637fdcdb59579 Automated merge with https://xanthippe/hg/zsh-env diff -r 44cb360e19b6 -r 0a35309e7504 zshrc --- a/zshrc Sat Dec 03 10:43:51 2011 +0100 +++ b/zshrc Sat Dec 03 10:43:57 2011 +0100 @@ -21,6 +21,16 @@ mcd() { mkdir $1; cd $1 } psg() { ps auxww | grep -v grep | grep -i "$@" } +# no history handling for now ... or find a better way to save history per shell not across all shells +export HISTFILE= + +# emulate tcsh's behaviour for forked processes: do not warn, do not kill when shell is closed +setopt nohup +setopt no_check_jobs + +# $HOST can either be just the host name or the FQDN. Standardize on the raw host name +export HOST=`echo $HOST | awk -F '.' '{ print $1 }'` + # utility function that is used by various other modules removeFromPath() { search_term="$1" @@ -41,9 +51,6 @@ echo "${clean_path}" } -# $HOST can either be just the host name or the FQDN. Standardize on the raw host name -export HOST=`echo $HOST | awk -F '.' '{ print $1 }'` - # include a zshrc per OS type local os_zshrc=$HOME/.zsh-env/zshrc-$OSTYPE if [ -f ${os_zshrc} ]; then