I have an issue with Vim in NixOS.

The problem is that Vim sets to shell the path to not desired bash (non-interactive bash).

So I want to know how Vim finds a shell and sets its path to shell to fix the issue.


1 Answer 1


Looks like it is set from environment variable $SHELL. . For example try run vim like this:

% env SHELL=/bin/csh vim

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.