Currently, this plugin always uses vim.env.SHELL as the default command. This behaviour is inconsistent with :terminal, which uses vim.o.shell. Using the latter value allows for more flexibility, since users can set the shell that they want neovim to use independently of the $SHELL used outside of nvim.
For example, on a shared system, I have $SHELL set to /bin/bash, but prefer to use $HOME/.local/bin/zsh for vim.o.shell.
Would it be reasonable to switch to using vim.o.shell by default?
Currently, this plugin always uses
vim.env.SHELLas the default command. This behaviour is inconsistent with:terminal, which usesvim.o.shell. Using the latter value allows for more flexibility, since users can set the shell that they want neovim to use independently of the$SHELLused outside of nvim.For example, on a shared system, I have $SHELL set to
/bin/bash, but prefer to use$HOME/.local/bin/zshforvim.o.shell.Would it be reasonable to switch to using
vim.o.shellby default?