summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorBruno Bigras <bigras.bruno@gmail.com>2019-08-22 15:57:32 -0400
committerKevin Song <chipbuster@users.noreply.github.com>2019-08-22 12:57:32 -0700
commit68cbcb91b73a594e1fedf10b39320bef3b04969c (patch)
tree2e157f926142361d49decede7763729b2fce54ee /src/main.rs
parent70d53ee7a9e48a46464ecc3fc8ee90946388092a (diff)
Use full path to starship in all phases of init (#224)
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 16d0e3025..577d939f7 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -113,9 +113,9 @@ fn main() {
("init", Some(sub_m)) => {
let shell_name = sub_m.value_of("shell").expect("Shell name missing.");
if sub_m.is_present("print_full_init") {
- init::init_main(shell_name);
+ init::init_main(shell_name).expect("can't init_main");
} else {
- init::init_stub(shell_name);
+ init::init_stub(shell_name).expect("can't init_stub");
}
}
("prompt", Some(sub_m)) => print::prompt(sub_m.clone()),