mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
Use full path to starship in all phases of init (#224)
This commit is contained in:
+2
-2
@@ -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()),
|
||||
|
||||
Reference in New Issue
Block a user