Skip to content

Respect vim.o.shell #100

@adigitoleo

Description

@adigitoleo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions