summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.me>2019-08-12 00:46:12 -0400
committerKevin Song <chipbuster@users.noreply.github.com>2019-08-11 21:46:12 -0700
commit4c2e9c3304e85640be88b649789ea09a1ea805fc (patch)
tree1ee386e325644062f093c0dd73a2c3c10b3df386
parent3669e389b6fe18b12a6ed2d0b3dcb1a9df9bc1f1 (diff)
fix: Move the battery to the newline before character (#139)
-rw-r--r--src/print.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print.rs b/src/print.rs
index c3d46f5dc..400020baa 100644
--- a/src/print.rs
+++ b/src/print.rs
@@ -8,7 +8,6 @@ use crate::module::Module;
use crate::modules;
const PROMPT_ORDER: &[&str] = &[
- "battery",
"username",
"directory",
"git_branch",
@@ -20,6 +19,7 @@ const PROMPT_ORDER: &[&str] = &[
"go",
"cmd_duration",
"line_break",
+ "battery",
"character",
];