Skip to content

Commit

Permalink
Fix man prompt
Browse files Browse the repository at this point in the history
The escaping was made for the old markdown engine
and looked dorky with the new one.
  • Loading branch information
Arkaeriit committed Feb 1, 2024
1 parent 9e68e9b commit 04ad7e9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -801,15 +801,15 @@ func manCMD(rest string, u *User) {
You can use some bash PS1 tags in it.
The supported tags are:
* \\u: your user name
* \\h, \\H: devzat colored like your username
* \\t, \\T: the time in your preferred formatting
* \\w: the current room
* \\W: the current room with #main aliased to ~
* \\S: a space character
* \\$: $ for normal users, # for admins
The default prompt is "\\u:\\S".`)
* \u: your user name
* \h, \H: devzat colored like your username
* \t, \T: the time in your preferred formatting
* \w: the current room
* \W: the current room with #main aliased to ~
* \S: a space character
* \$: $ for normal users, # for admins
The default prompt is "\u:\S".`)
return
}

Expand Down

0 comments on commit 04ad7e9

Please sign in to comment.