Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a85254d

Browse files
authored
Update README.md
1 parent 1a8030f commit a85254d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎bashrc/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ __prompt_command() {
5858
# https://stackoverflow.com/questions/18215973/how-to-check-if-running-as-root-in-a-bash-script
5959
if [ "${EUID:-$(id -u)}" -eq 0 ]; then
6060
REALUSER=$(who -m | cut -f1 -d' ')
61-
PS1+="${Gray}${REALUSER}->${Red}\u" #user
61+
PS1+="${Gray}${REALUSER}${Cyan}->${Red}\u" #user
6262
else
6363
PS1+="${Yellow}\u" #user
6464
fi

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /