From 8ed0afd22176e1118bf34f7c998c277cc3feb065 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sat, 10 Dec 2016 01:21:07 -0500 Subject: [PATCH] updated bashrc examples now includes the full file needed for normal and root users. --- feisty_inits/dot.bashrc-normal-user | 2 +- feisty_inits/dot.bashrc-root | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/feisty_inits/dot.bashrc-normal-user b/feisty_inits/dot.bashrc-normal-user index 616cfe04..ea0c9c5e 100644 --- a/feisty_inits/dot.bashrc-normal-user +++ b/feisty_inits/dot.bashrc-normal-user @@ -1,5 +1,5 @@ -# when added to ~/.bashrc, this code initializes the feisty meow environment +# example ~/.bashrc: this code initializes the feisty meow environment # for "normal" users (not intended for the root user). ############## diff --git a/feisty_inits/dot.bashrc-root b/feisty_inits/dot.bashrc-root index fadd383c..8ae38a5a 100644 --- a/feisty_inits/dot.bashrc-root +++ b/feisty_inits/dot.bashrc-root @@ -1,4 +1,26 @@ +# example ~/.bashrc: this code provides a macro to initialize the +# feisty meow environment for the "root" user. + +############## + +# If not running interactively, don't do anything +case $- in + *i*) ;; + *) return;; +esac + +############## + +# drag in the default version of this file. this may not be needed if your +# .bashrc script already has substantial code or already does this. +source /etc/bash.bashrc + +############## + +# change this to your name... +export NAME='Frunkooleon Q. GrendervaspPleaseChangeThis' + ############## # the "fredme" macro enables the feisty_meow environment. -- 2.34.1