In neovim, when use the command :term, it opens a new shell with bash. I want to use zsh by default.
zsh is already my default shell. I changed it with chsh.
Looking at :h :terminal it says
Execute {cmd} with 'shell' in a new terminal buffer
So use :set shell=/path/to/zsh. Put it in your vimrc file (probably init.vim) to make it "permanent".
An unknown element "" was received.. Are there other settings that should go with this? – FilBot3 Jan 16 '20 at 19:07set shell=...line and see what happens. And running vim with-Vwill tell you what's going on during startup. – B Layer Jan 17 '20 at 06:37Removing the "set shell" directive from my vimrc stops them from occurring. Still haven't figured out what's going on.
– RageCage Jan 18 '21 at 22:07