mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
fix(status): Enable to convert from i64 to hex_status by casting instead of parsing status. (#3462)
* fix(status): Enable to convert from i64 to hex_status by casting instead of parsing status. * Apply comment to src/context.rs Co-authored-by: David Knaack <davidkna@users.noreply.github.com> * Update README.md in configuration Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
This commit is contained in:
@@ -2984,6 +2984,7 @@ format = '[📦 \[$env\]]($style) '
|
||||
|
||||
The `status` module displays the exit code of the previous command.
|
||||
The module will be shown only if the exit code is not `0`.
|
||||
The status code will cast to a signed 32-bit integer.
|
||||
|
||||
::: tip
|
||||
|
||||
|
||||
Reference in New Issue
Block a user