diff --git a/.prompt b/.prompt index da25c66..64ddd7e 100644 --- a/.prompt +++ b/.prompt @@ -161,7 +161,7 @@ __prompt() { local TIME="${_YLW}$(__get_cmd_time)" # Random colored $ or # - _RAND256="\[\033[38;2;$RANDOM;$RANDOM;${RANDOM}m\]" + _RAND256="\[\033[38;2;$((RANDOM%256));$((RANDOM%256));$((RANDOM%256))m\]" local IND="${_RAND256}\\$" # Set the prompt