cleaned up stty noise
authorFred T. Hamster <fred@gruntose.com>
Sat, 7 Dec 2024 00:03:26 +0000 (19:03 -0500)
committerFred T. Hamster <fred@gruntose.com>
Sat, 7 Dec 2024 00:03:26 +0000 (19:03 -0500)
made stty call not pollute stdout.
generalized inventory script a little, so it doesn't expect our scripts variable, but still does rely on FEISTY_MEOW_APEX

scripts/core/functions.sh
scripts/core/inventory.sh

index a668e6c1496ec956b872c78fbb6ffc096355909e..d5162785bfd3785958dcf966fb6c5d4298b2c3eb 100644 (file)
@@ -232,7 +232,7 @@ if [ -z "$skip_all" ]; then
   function get_maxcols()
   {
     # calculate the number of columsn in the terminal.
-    local cols=$(stty size | awk '{print $2}')
+    local cols=$(stty size 2>/dev/null | awk '{print $2}')
     echo $cols
   }
 
index 84b2b83960f760da1fcff453bbced781a7501a86..6b1b11b7da1267b7c18428d2a81200399b976b55 100644 (file)
@@ -3,7 +3,7 @@
 # a frivolous but useful script that shows information about the local
 # computer in terms of an adventure game inventory listing.
 
-source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
+source "$FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh"
 
 unset -v codename osname osver
 if [ $OPERATING_SYSTEM == "UNIX" ]; then