on master help sign in
Use current dir for file picker, after change dir. (#910)
commitd61e5e686be14b61b6d26c591147f8bfedd378bf authorradical3dd <radical3dd@gmail.com> dateTue 26 Oct 2021, 02:43 (5 years ago) parentf331ba9
1 file changed+1−1
helix-term/src/application.rs+1−1
helix-term/src/application.rs+1−1
@@ -102,7 +102,7 @@ impl Application {
102102 if first.is_dir() {
103103 std::env::set_current_dir(&first)?;
104104 editor.new_file(Action::VerticalSplit);
105− compositor.push(Box::new(ui::file_picker(first.clone())));
105+ compositor.push(Box::new(ui::file_picker(".".into())));
106106 } else {
107107 let nr_of_files = args.files.len();
108108 editor.open(first.to_path_buf(), Action::VerticalSplit)?;