make the ryan user on netbox exempt from addition to prompt

This commit is contained in:
stupidcomputer 2024-10-28 23:39:35 -05:00
parent 2b2db129b1
commit 2001e824a5
1 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,8 @@ fi
if [ "$USER" = "root" ]; then
USER_PREFIX="\[\033[41m\]root:\[\033[0;0m\]"
elif [ "$USER" == "ryan" ] && [ "$HOSTNAME" = "netbox" ]; then
USER_PREFIX=""
elif [ "$USER" != "usr" ]; then
USER_PREFIX="$USER:"
fi