From dcc3aa109766413103c4a2a17f1575437c0d8eda Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Thu, 23 Feb 2012 11:44:21 -0500 Subject: [PATCH] pulled out some things bash overrides if we let it. --- scripts/core/variables.sh | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/scripts/core/variables.sh b/scripts/core/variables.sh index 1f37bb82..67144bba 100644 --- a/scripts/core/variables.sh +++ b/scripts/core/variables.sh @@ -9,6 +9,17 @@ ############## +# this section should always run or bash will reset them on us. +# these need to be as minimal as possible. + +# sets the main prompt to a simple default, with user@host. +export PS1='\u@\h $ '; +# sets the history length and max file size so we can get some long history around here. +export HISTSIZE=1000000 +export HISTFILESIZE=2000000 + +############## + # we'll run this again only if we think it's needed. if [ -z "$NECHUNG" ]; then @@ -71,11 +82,6 @@ if [ -z "$NECHUNG" ]; then ############## - # sets the main prompt to a simple default, with user@host. - export PS1='\u@\h $ '; - - ############## - # variables for perl. export PERLLIB @@ -108,10 +114,6 @@ if [ -z "$NECHUNG" ]; then # ensure we use the right kind of rsh for security. export CVS_RSH=ssh - # sets the history length and max file size so we can get some long history around here. - HISTSIZE=1000000 - HISTFILESIZE=2000000 - # the base checkout list is just to update feisty_meow. additional folder # names can be added in your customized scripts. export REPOSITORY_LIST="feisty_meow" -- 2.34.1