X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Fvariables.sh;h=fa2f774b17a79c782c2458593d51309f8771242b;hb=68821c3475f388759fa9680e8dcf0572cf272ada;hp=ac708df3f2ae9de03e7a428ff8dcdbc3329f986e;hpb=4c3c1ebcea4f605039bb33c7233d413a34fc5305;p=feisty_meow.git diff --git a/scripts/core/variables.sh b/scripts/core/variables.sh index ac708df3..fa2f774b 100644 --- a/scripts/core/variables.sh +++ b/scripts/core/variables.sh @@ -17,6 +17,9 @@ 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=8000000 + +# make the TERM available to all sub-shells. +export TERM ############## @@ -78,9 +81,12 @@ if [ -z "$NECHUNG" ]; then ############## - # umask sets a permission mask for all file creations. the mask used here - # disallows writes by the "group" and disallows "others" completely. - umask 027 + # umask sets a permission mask for all file creations. + # this mask disallows writes by "group" and "others". + umask 022 + # this mask disallows writes by the "group" and disallows "others" completely. + #umask 027 + # ulimit sets user limits. we set the maximum allowed core dump file size # to zero, because it is obnoxious to see the core dumps from crashed # programs lying around everywhere. @@ -123,11 +129,11 @@ if [ -z "$NECHUNG" ]; then ############## # set this so nechung can find its data. - export NECHUNG=$FEISTY_MEOW_DIR/database/fortunes.dat + export NECHUNG=$FEISTY_MEOW_DIR/infobase/fortunes.dat # ensure we use the right kind of secure shell. - export CVS_RSH=$FEISTY_MEOW_SCRIPTS/security/ssh.sh - export GIT_SSH=$FEISTY_MEOW_SCRIPTS/security/ssh.sh +# export CVS_RSH=$FEISTY_MEOW_SCRIPTS/security/ssh.sh +# export GIT_SSH=$FEISTY_MEOW_SCRIPTS/security/ssh.sh # the base checkout list is just to update feisty_meow. additional folder # names can be added in your customized scripts. the space at the end of @@ -187,7 +193,6 @@ if [ -z "$NECHUNG" ]; then ############## if [ ! -z "$SHELL_DEBUG" ]; then echo variables initialization ends....; fi - fi ############## @@ -205,6 +210,6 @@ for i in $FEISTY_MEOW_GENERATED/custom/*.sh; do if [ ! -z "$SHELL_DEBUG" ]; then echo "loading customization: $(basename $(dirname $i))/$(basename $i)" fi - source $i + source "$i" done