summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index d5422a129..0d873868a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -4,6 +4,7 @@ extern crate clap;
extern crate ansi_term;
extern crate dirs;
extern crate git2;
+extern crate pretty_env_logger;
mod context;
mod module;
@@ -14,6 +15,8 @@ mod segment;
use clap::{App, Arg};
fn main() {
+ pretty_env_logger::init();
+
let args = App::new("Starship")
.about("The cross-shell prompt for astronauts. ✨🚀")
// pull the version number from Cargo.toml