moving custom directory to under generated folder
authorFred T. Hamster <fred@shaggy.gruntose.blurgh>
Sat, 4 Feb 2012 19:28:56 +0000 (14:28 -0500)
committerFred T. Hamster <fred@shaggy.gruntose.blurgh>
Sat, 4 Feb 2012 19:28:56 +0000 (14:28 -0500)
scripts/core/bootstrap_shells.sh
scripts/core/common.alias
scripts/core/generate_aliases.pl
scripts/core/launch_feisty_meow.sh
scripts/core/unter_alia.sh
scripts/core/variables.sh
scripts/custom/.gitignore [deleted file]
scripts/examples/custom_overrides/fred/fred_common.alias
scripts/examples/custom_overrides/readme.txt

index 75c4fb4a9e2cf786d29f44421e53d5b432c784bd..3d1288891dda0d75d2f915d411ad89a7e33c847d 100644 (file)
@@ -29,9 +29,12 @@ fi
 if [ ! -d "$FEISTY_MEOW_GENERATED" ]; then
   mkdir "$FEISTY_MEOW_GENERATED"
 fi
+if [ ! -d "$FEISTY_MEOW_GENERATED/custom" ]; then
+  mkdir "$FEISTY_MEOW_GENERATED/custom"
+fi
 
 # just a variable we use in here to refer to the generated variables file.
-GENERATED_FEISTY_MEOW_VARIABLES="$FEISTY_MEOW_GENERATED/feisty_meow_variables.sh"
+GENERATED_FEISTY_MEOW_VARIABLES="$FEISTY_MEOW_GENERATED/fmc_variables.sh"
 # create the alias file as totally blank.
 echo -n >"$GENERATED_FEISTY_MEOW_VARIABLES"
 for i in FEISTY_MEOW_DIR FEISTY_MEOW_SCRIPTS FEISTY_MEOW_GENERATED; do
index df70f1c07039e699d0392b17c9d320f046bbc996..7429ed35e42adc0a0017d76d9ad429f386a42b7d 100644 (file)
@@ -31,6 +31,8 @@ alias path='echo $PATH'
 alias play='bash $FEISTY_MEOW_SCRIPTS/multimedia/sound_play.sh'
 alias rmdir='perl $FEISTY_MEOW_SCRIPTS/files/zapdirs.pl'
 alias rd='perl $FEISTY_MEOW_SCRIPTS/files/zapdirs.pl'
+# redoes fred's set of custom scripts.
+alias recustomize='cpdiff $FEISTY_MEOW_SCRIPTS/examples/custom_overrides/fred $FEISTY_MEOW_GENERATED/custom'
 #regen-- this might be better as a function.
 alias regenerate='bash $FEISTY_MEOW_SCRIPTS/core/bootstrap_shells.sh ; echo ; nechung'
 alias reroot='chown -R root:root /root'
@@ -68,9 +70,9 @@ alias whereami='echo whoa dude, try not to think about it...'
 alias why='echo just because.'
 
 # call the generated aliases file, if it exists.
-if [ -f "$FEISTY_MEOW_GENERATED/aliases_for_scripts.sh" ]; then 
+if [ -f "$FEISTY_MEOW_GENERATED/fmc_aliases_for_scripts.sh" ]; then 
   if [ ! -z "$SHELL_DEBUG" ]; then echo launching generated aliases.; fi
-  source "$FEISTY_MEOW_GENERATED/aliases_for_scripts.sh"
+  source "$FEISTY_MEOW_GENERATED/fmc_aliases_for_scripts.sh"
   if [ ! -z "$SHELL_DEBUG" ]; then echo done with generated aliases.; fi
 fi
 
index 94d5f5198fa928b58c0a914c03ce42cb097c09c2..343df73525987539a407b552e501068d2e67d12e 100644 (file)
@@ -103,12 +103,12 @@ system("bash \"$FEISTY_MEOW_SCRIPTS\"/core/unter_alia.sh");
   # and custom scripts directories.
 
 # trash the old versions.
-unlink("$FEISTY_MEOW_GENERATED/aliases_for_scripts.sh");
+unlink("$FEISTY_MEOW_GENERATED/fmc_aliases_for_scripts.sh");
 
-printf "writing $FEISTY_MEOW_GENERATED/aliases_for_scripts.sh...\n";
+printf "writing $FEISTY_MEOW_GENERATED/fmc_aliases_for_scripts.sh...\n";
 
 # open the alias files to be created.
-open(she, ">> $FEISTY_MEOW_GENERATED/aliases_for_scripts.sh");
+open(she, ">> $FEISTY_MEOW_GENERATED/fmc_aliases_for_scripts.sh");
 
 #print "os is $OS\n";
 
index 581b950eebb026a6208f96f99656ba419a592f45..c229bebfb5116bf6b96879e8387ceaa09896dbce 100644 (file)
@@ -26,7 +26,7 @@ if [ ! -z "$WINDIR" -o ! -z "$windir" ]; then
 fi
 
 # make sure our main variables are established.
-GENERATED_FEISTY_MEOW_VARIABLES="$FEISTY_MEOW_GENERATED/feisty_meow_variables.sh"
+GENERATED_FEISTY_MEOW_VARIABLES="$FEISTY_MEOW_GENERATED/fmc_variables.sh"
 if [ ! -f "$GENERATED_FEISTY_MEOW_VARIABLES" ]; then
   echo -e '\n\n'
   echo "The yeti scripts need to be initialized via the bootstrap process, e.g.:"
@@ -75,7 +75,7 @@ if [ -z "$LIGHTWEIGHT_INIT" ]; then
     if [ ! -z "$SHELL_DEBUG" ]; then
       echo the aliases were missing, now they are added...
     fi
-    source "$FEISTY_MEOW_GENERATED/core_and_custom_aliases.sh"
+    source "$FEISTY_MEOW_GENERATED/fmc_core_and_custom_aliases.sh"
   fi
 
   # allow connections to our x server from the local host.
index 9fa72eb1c6fef1ea1e3dae21567a6a36a586682f..428ece0b1df21cc8c608d8f40db667fcdf6bb4c6 100644 (file)
@@ -5,7 +5,8 @@
 # The "common.alias" file is used in the generated aliases file as a base
 # set of generally useful aliases.  We also add aliases for any script files
 # (perl, bash, python, etc) that we find in the feisty meow script hierarchy.
-# Any *.alias files found in the scripts/custom folder are loaded also.
+# Any *.alias files found in the $FEISTY_MEOW_GENERATED/custom folder are
+# loaded also.
 
 if [ ! -z "$SHELL_DEBUG" ]; then echo rebuiling generated aliases file...; fi
 
@@ -19,7 +20,7 @@ test_color=$(ls --help 2>&1 | grep -i color)
 ALIAS_DEFINITION_FILES=("$FEISTY_MEOW_SCRIPTS/core/common.alias")
 
 # if custom aliases files exist, add them to the list.
-for i in "$FEISTY_MEOW_SCRIPTS/custom/*.alias"; do
+for i in "$FEISTY_MEOW_GENERATED/custom/*.alias"; do
   ALIAS_DEFINITION_FILES+=("$i")
 done
 echo "alias files:"
@@ -29,7 +30,7 @@ done
 
 # write the aliases for sh and bash scripts.
 
-GENERATED_ALIAS_FILE="$FEISTY_MEOW_GENERATED/core_and_custom_aliases.sh"
+GENERATED_ALIAS_FILE="$FEISTY_MEOW_GENERATED/fmc_core_and_custom_aliases.sh"
 echo "writing generated aliases in $GENERATED_ALIAS_FILE..."
 
 #hmmm: perhaps a good place for a function to create the header,
index 3a26777f63b0339a31629d9b7cfd180b3eee2cc7..36069c07b3f62f2a20b891b73baaf6c1645d43d8 100644 (file)
@@ -85,7 +85,7 @@ fi
 ##############################################################################
 
 # pull in the custom overrides for feisty_meow scripts.
-for i in $FEISTY_MEOW_SCRIPTS/custom/*.sh; do
+for i in $FEISTY_MEOW_GENERATED/custom/*.sh; do
   if [ ! -z "$SHELL_DEBUG" ]; then
     echo "loading customization: $(basename $(dirname $i))/$(basename $i)"
   fi
diff --git a/scripts/custom/.gitignore b/scripts/custom/.gitignore
deleted file mode 100644 (file)
index fad69f8..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-
-# ignore anything in this directory, since it's not public.
-
-[^.]*
-
-
index 8ca374f2474f68fbe80bd3902441b9361a1727a8..3a372ea1ac095ed28689db6948b939d0d52c6cf1 100644 (file)
@@ -9,8 +9,4 @@ alias unmoo='umount /z/stuffing ; umount /z/walrus ; umount /z/chunky '
 # cleans up the ownership for all my files.
 alias refred='(chown -R fred:fred /home/fred /usr/local/games /home/archives /fatty /clutterato /var/spool/mail/fred ; normal_perm /var/log )'
 
-# redoes my custom scripts.  kind of a bummer if i mistakenly made
-# modifications in the un-saved custom directory itself.
-alias recustomize='cpdiff $FEISTY_MEOW_SCRIPTS/examples/custom_overrides/fred $FEISTY_MEOW_SCRIPTS/custom'
-
 
index 92bb30237f2b6db3705c136d92d73649765dbb32..554f927849ef7bd08a02919d3fc796c5d429bfb4 100644 (file)
@@ -7,6 +7,5 @@ and it can also have shell scripts that are sourced into the main-line of
 script initialization (any files ending in .sh).
 
 when you have some custom scripts you want to use, copy them from your own
-folder to the scripts/custom directory.  be careful though, because they
-will never be checked into the repository from there.
+folder to the $FEISTY_MEOW_GENERATED/custom directory.