mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:07:35 +00:00
Base: Fix case in descriptions of the new prompt formatting options
This commit is contained in:
parent
8612aee640
commit
52a55fdd6d
1 changed files with 7 additions and 7 deletions
|
@ -63,13 +63,13 @@ The value of this variable is used to generate a prompt, the following escape se
|
||||||
- `\\u`: the current username
|
- `\\u`: the current username
|
||||||
- `\\w`: a collapsed path (relative to home) to the current directory
|
- `\\w`: a collapsed path (relative to home) to the current directory
|
||||||
- `\\X`: reset style (foreground and background color, etc)
|
- `\\X`: reset style (foreground and background color, etc)
|
||||||
- `\\t`: Current time in the 24-hour format HH:MM:SS
|
- `\\t`: current time in the 24-hour format HH:MM:SS
|
||||||
- `\\T`: Current time in the 12-hour format HH:MM
|
- `\\T`: current time in the 12-hour format HH:MM
|
||||||
- `\\@`: Current time in the 12-hour format HH:MM AM/PM
|
- `\\@`: current time in the 12-hour format HH:MM AM/PM
|
||||||
- `\\D{format}`: Current time, where the string _format_ is passed on to `Core::DateTime::to_string`. If _format_ is empty, a default format string is chosen.
|
- `\\D{format}`: current time, where the string _format_ is passed on to `Core::DateTime::to_string`. If _format_ is empty, a default format string is chosen.
|
||||||
- `\\j`: The number of jobs currently managed by the shell
|
- `\\j`: the number of jobs currently managed by the shell
|
||||||
- `\\!`: The history number of the next command to be run
|
- `\\!`: the history number of the next command to be run
|
||||||
- `\\\\`: A backslash
|
- `\\\\`: a backslash
|
||||||
|
|
||||||
Any other escaped character shall be ignored.
|
Any other escaped character shall be ignored.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue