kamiyaa / joshuto

ranger-like terminal file manager written in Rust
https://crates.io/crates/joshuto
GNU Lesser General Public License v3.0
3.34k stars 151 forks source link

Zoxide related features #506

Closed chrjabs closed 3 months ago

chrjabs commented 3 months ago

This pull request implements some features related to zoxide:

One question related to the debug assertion introduced here: this is required for the zoxide update to work correctly, but will this always hold? I am confident that this holds when coming from change_directory::change_directory, but the function is also called from open_file::open, where I am not entirely sure.

kamiyaa commented 3 months ago

function is also called from open_file::open, where I am not entirely sure. This one should be fine because its taken from entry.file_path()