mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-11 13:39:55 +02:00
System/Core/Shell: Update default PS1
This commit is contained in:
@@ -221,7 +221,7 @@ U0 @shell_update_prompts(@shell* sh)
|
|||||||
StrCpy(&buf, "~");
|
StrCpy(&buf, "~");
|
||||||
else
|
else
|
||||||
StrCpy(&buf, StrLastOcc(&buf, "/") + 1);
|
StrCpy(&buf, StrLastOcc(&buf, "/") + 1);
|
||||||
StrPrint(&sh->PS1, "[%s@%s %s]\d ", &sh->session->user.name,
|
StrPrint(&sh->PS1, "\x1b[0;32m[%s@%s %s]\x1b[1;37m\d ", &sh->session->user.name,
|
||||||
&sh->session->hostname, &buf);
|
&sh->session->hostname, &buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user