1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-28 15:56:28 +00:00

fix: fix compilation with battery feature disabled (#1509)

This commit is contained in:
David Knaack 2020-07-24 23:42:36 +02:00 committed by GitHub
parent c46066a8d5
commit 869a6f3140
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",