# Staff interactive shell aliases and settings
if [ "${PS1}" ] && (id -Gn | grep -qP '\b(?:tier1adv|tier1|tier1e|aps|tier2s|managedhosting|engineering|tier3|datacenter|legal)(@ipa.imhtech.net)?\b') || (id -Gn | grep -qP '@ipa.imhtech.net'); then
export PS1="[\[\e[34;1m\]\u\[\e[30;1m\]@\[\e[33;31m\]\h\[\e[39;1m\]: \w\[\e[0m\]]\$ "
alias imh-scan='sudo /opt/imh-scan/imh-scan'
alias sa_info='sudo /opt/spamassassin/bin/sa_info'
alias sa_whitelist='sudo /opt/spamassassin/bin/sa_whitelist'
alias proxydomains='sudo /scripts/proxydomains'
alias pure-ftpwho='sudo pure-ftpwho'
alias simpleps='sudo /scripts/simpleps'
alias ps='sudo /usr/bin/ps'
alias valiasnano='sudo nano -o /etc/valiases/ -l'
alias updateuserdomains='sudo /scripts/updateuserdomains'
alias locate='sudo locate'
alias editquota='sudo /scripts/editquota'
alias netstat='sudo netstat'
alias exigrep='sudo exigrep'
alias exim_tidydb='sudo /scripts/exim_tidydb'
alias build_maxemails_config='sudo /scripts/build_maxemails_config'
alias ipusage='sudo /scripts/ipusage'
alias addspf='sudo /usr/local/cpanel/bin/spf_installer'
alias runweblogs='sudo /scripts/runweblogs'
alias rmspf='sudo /usr/local/cpanel/bin/spf_uninstaller'
alias whoowns='sudo /scripts/whoowns'
alias adddomainkey='sudo /usr/local/cpanel/bin/domain_keys_installer'
alias rmdomainkey='sudo /usr/local/cpanel/bin/domain_keys_uninstaller'
alias cagefsctl='sudo cagefsctl'
alias rsync='nocache -- rsync'
alias tar='nocache -- tar'
alias fixperms='sudo fixperms'
alias baksync='sudo baksync'
alias mv_backup='sudo /opt/tier2c/mv_backup.py'
alias safe_restorepkg='sudo /opt/tier2c/safe_restorepkg.py'
alias safe_removeacct='sudo /opt/tier2c/safe_removeacct.py'
alias safe_pkgacct='sudo /opt/tier2c/safe_pkgacct.py'
alias exclude_rbl='sudo /opt/sharedrads/exclude_rbl.py'
alias modsec_disable='sudo /opt/sharedrads/modsec_disable.py'
alias mtr='/usr/sbin/mtr'
alias ngxconf='sudo /usr/bin/ngxconf'
alias ngxutil='sudo /usr/bin/ngxutil'