default to username instead
This commit is contained in:
parent
3aefa2bb5c
commit
6d8d38f2a0
@ -21,8 +21,8 @@ RDOMAIN="@local"
|
|||||||
RCOLOR="4"
|
RCOLOR="4"
|
||||||
|
|
||||||
if [ $RHOSTNAME == "<HOSTNAME"">" ]; then
|
if [ $RHOSTNAME == "<HOSTNAME"">" ]; then
|
||||||
RHOSTNAME=$( hostname -s )
|
RHOSTNAME="\u"
|
||||||
RDOMAIN="@"$( hostname -d )
|
RDOMAIN="@"$( hostname -s )
|
||||||
RCOLOR=$(( $RANDOM * 6 / 32767 + 1 ))
|
RCOLOR=$(( $RANDOM * 6 / 32767 + 1 ))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user