From 1a095e7cc5878613be4ce8976c0b495a48067ce2 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Wed, 15 Mar 2023 11:37:25 -0400 Subject: [PATCH] better comments --- infobase/feisty_inits/dot.bashrc-normal-user | 8 ++++---- infobase/feisty_inits/dot.bashrc-root | 10 ++++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/infobase/feisty_inits/dot.bashrc-normal-user b/infobase/feisty_inits/dot.bashrc-normal-user index 9c15d011..0f185f79 100644 --- a/infobase/feisty_inits/dot.bashrc-normal-user +++ b/infobase/feisty_inits/dot.bashrc-normal-user @@ -1,7 +1,9 @@ ############## -# initializes the feisty meow environment for "normal" users (not intended for the root user). +# initialize the feisty meow environment for "normal" users. +# this is not intended for the root user, because having a bunch of extra +# scripts automatically loaded into root's environment is not a good idea. ############## @@ -16,9 +18,7 @@ fi ############## -# set the history sizes to be much larger, and do this whether we load the -# feisty meow environment or not. - +# set the history sizes to be much larger; important to have good history. export HISTSIZE=1000000 export HISTFILESIZE=8000000 diff --git a/infobase/feisty_inits/dot.bashrc-root b/infobase/feisty_inits/dot.bashrc-root index ddc131a8..fd9bc37e 100644 --- a/infobase/feisty_inits/dot.bashrc-root +++ b/infobase/feisty_inits/dot.bashrc-root @@ -1,7 +1,11 @@ ############## -# provides a macro to initialize the feisty meow environment for the "root" user. +# sets an alias to initialize the feisty meow environment for the "root" user. +# this is safe for root to use, since nothing drastic is modified in the +# environment. one additional alias should not cripple anything. plus we are +# updating the history size to ensure long histories to enable consulting old +# commands. ############## @@ -16,9 +20,7 @@ fi ############## -# set the history sizes to be much larger, and do this whether we load the -# feisty meow environment or not. - +# set the history sizes to be much larger; important to have good history. export HISTSIZE=1000000 export HISTFILESIZE=8000000 -- 2.34.1