make the ryan user on netbox exempt from addition to prompt
This commit is contained in:
parent
2b2db129b1
commit
2001e824a5
|
@ -31,6 +31,8 @@ fi
|
||||||
|
|
||||||
if [ "$USER" = "root" ]; then
|
if [ "$USER" = "root" ]; then
|
||||||
USER_PREFIX="\[\033[41m\]root:\[\033[0;0m\]"
|
USER_PREFIX="\[\033[41m\]root:\[\033[0;0m\]"
|
||||||
|
elif [ "$USER" == "ryan" ] && [ "$HOSTNAME" = "netbox" ]; then
|
||||||
|
USER_PREFIX=""
|
||||||
elif [ "$USER" != "usr" ]; then
|
elif [ "$USER" != "usr" ]; then
|
||||||
USER_PREFIX="$USER:"
|
USER_PREFIX="$USER:"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue