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

Unable to select neovim config with NVIM_APPNAME environment variable #540

Open MattiaSilvestri opened 1 month ago

MattiaSilvestri commented 1 month ago

I use neovim as my default text editor, and I recently started to use the NVIM_APPNAME env variable to select between the neovim config I have in my config folder. I set an alias in my .zshrc file so that every time I type vim I get a specific config loaded up, like this: alias vim="NVIM_APPNAME=custom_config nvim". However, I noticed that joshuto doesn't respect shell aliases or commands other than the binary of the app itself, making me unable to tell joshuto which config to use and forcing me to use the default one. Is there any way to solve this issue?