kamiyaa / joshuto

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

quit --output-current-directory cannot be used normally #478

Closed yjcup closed 5 months ago

yjcup commented 6 months ago

I use joshuto on macos, use brew to install joshuto, and use the default configuration. However, quit --output-current-directory cannot be used normally. When pressing Q, it is still in the current folder.

image image image
kamiyaa commented 5 months ago

You must add a function to bashrc, zshrc, etc. as shown here: https://github.com/kamiyaa/joshuto/blob/main/docs/configuration/keymap.toml.md#quit-quit-joshuto

This is because a child process cannot change the pwd of a parent process