Fixed bash_completion for Mac and updated system
authorAndrew DeFaria <Andrew@DeFaria.com>
Thu, 4 Nov 2021 19:23:31 +0000 (12:23 -0700)
committerAndrew DeFaria <Andrew@DeFaria.com>
Thu, 4 Nov 2021 19:23:31 +0000 (12:23 -0700)
rc/bash_login
rc/system

index 64b6147..6cab6cd 100644 (file)
@@ -119,6 +119,8 @@ fi
 # Source bash_completion (if present) (too slow for Windows)
 if [ -r /etc/bash_completion -a $ARCHITECTURE != "cygwin" ]; then
   source /etc/bash_completion
+elif [ -r /usr/local/etc/bash_completion ]; then
+  source /usr/local/etc/bash_completion
 fi
 
 # Windows aliases
index a43a36a..8b81616 100644 (file)
--- a/rc/system
+++ b/rc/system
@@ -23,24 +23,8 @@ SYSNAME=$(echo ${SYSNAME:0:1} | tr [:lower:] [:upper:])$(echo ${SYSNAME:1}   | t
 
 # Aliasing
 case "$SYSNAME" in
-  Az25jzhxkb2d)
-    SYSNAME="Venus"
-    ;;
-
-  Cdvra99a0983)
-    SYSNAME="Dev"
-    ;;
-
-  Cuvra99a0983)
-    SYSNAME="UAT"
-    ;;
-
-  Crvra99a0983)
-    SYSNAME="BCP"
-    ;;
-
-  Cpvra99a0983)
-    SYSNAME="Production"
+  Andrews-macbook-pro)
+    SYSNAME="cPanel"
     ;;
 
 esac