From 56890e6a4f7bd3681fdc4b6db0cdce1ef0ec5e47 Mon Sep 17 00:00:00 2001 From: Andrew DeFaria Date: Thu, 4 Nov 2021 12:23:31 -0700 Subject: [PATCH] Fixed bash_completion for Mac and updated system --- rc/bash_login | 2 ++ rc/system | 20 ++------------------ 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/rc/bash_login b/rc/bash_login index 64b6147..6cab6cd 100644 --- a/rc/bash_login +++ b/rc/bash_login @@ -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 diff --git a/rc/system b/rc/system index a43a36a..8b81616 100644 --- 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 -- 2.17.1