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

Use of `--change-directory` command line argument? #519

Closed BigBrotherJu closed 3 months ago

BigBrotherJu commented 3 months ago

According to doc:

  • --change-directory: sets the quit behavior to change directory instead of noop when closing the last tab

When I invoke joshuto with joshuto --change-directory, and exit by pressing q in the last tab, my current working directory is not changed to the directory displayed in the first row of joshuto UI.

So how to use this option?

kamiyaa commented 3 months ago

Added link to docs.

Take a look at the function here: https://github.com/kamiyaa/joshuto/blob/main/docs/configuration/keymap.toml.md#quit-quit-joshuto