# (c) Copyright 2013, ClearSCM, Inc., all rights reserved.
#
################################################################################
-append_to_path /usr/local/cpanel/3rdparty/lib/path-bin
-append_to_path /usr/local/cpanel/3rdparty/bin
-append_to_path /usr/local/cpanel/build-tools
+prepend_to_path /usr/local/cpanel/build-tools
+prepend_to_path /usr/local/cpanel/3rdparty/lib/path-bin
+prepend_to_path /usr/local/cpanel/3rdparty/bin
append_to_path /usr/local/sbin
append_to_path /usr/local/bin
append_to_path /usr/sbin
append_to_path /opt/cplint/bin
append_to_path /root/bin
+# Intended to be used for root
+WIZARD="CPanel"
+
export CDPATH=/usr/local
export ulc=/usr/local/cpanel
+export ulp=/usr/local/cp-monitoring-cpanel-plugin
export CPANEL_TEAM='scrum'
#alias ulc="cd /usr/local/cpanel"
cd $ulc
fi
} # ulc
+
+function ulp {
+ path=$1
+
+ if [ -s "$1" ]; then
+ cd $ulp/$path
+ else
+ cd $ulp
+ fi
+} # ulp
+
ESC=$(echo "\033")
CR=$(echo "\015")
+export WIZARD="Wizard"
+
view_name=
# Function to set the title bar. Works on the terminal emulators listed.
# view and a string to indicate that you are root.
function set_title {
if [ $($id -u) -eq 0 ]; then
- root="Wizard "
+ root="$WIZARD "
else
root=
fi
"$TERM" = "xtermc" -o \
"$TERM" = "xterm-256color" -o \
"$TERM" = "vt220" ]; then
- ROOT="\[${ROOT_COLOR}\]Wizard\[$NORMAL\] "
+ ROOT="\[${ROOT_COLOR}\]$WIZARD\[$NORMAL\] "
else
- ROOT="Wizard "
+ ROOT="$WIZARD "
fi
else
ROOT=""
StrictHostKeyChecking no
LogLevel ERROR
-Host jupiter cpanel github.com
+Host jupiter cpanel github.com sandbox sandboxal
ForwardX11 no
ForwardX11Trusted no
Hostname 10.2.99.60
IdentityFile ~/.ssh/cpanelkey
+Host enterprise.cpanel.net
+ IdentityFile ~/.ssh/cpanelkey
+
Host 10.2.* sandbox*
ForwardAgent yes
StrictHostKeyChecking no
Host *
ServerAliveInterval 300
ServerAliveCountMax 2
- ForwardX11 yes
- ForwardX11Trusted yes