mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-01 09:13:54 +00:00
fix: fix compilation with battery feature disabled (#1509)
This commit is contained in:
parent
c46066a8d5
commit
869a6f3140
@ -11,7 +11,7 @@ pub struct StarshipRootConfig<'a> {
|
||||
// List of default prompt order
|
||||
// NOTE: If this const value is changed then Default prompt order subheading inside
|
||||
// prompt heading of config docs needs to be updated according to changes made here.
|
||||
pub const PROMPT_ORDER: [&str; 44] = [
|
||||
pub const PROMPT_ORDER: &[&str] = &[
|
||||
"username",
|
||||
"hostname",
|
||||
"singularity",
|
||||
|
Loading…
Reference in New Issue
Block a user