Cannot execute shell /bin/zsh when execute a shell command in vi
5,557
Solution 1
set default shell in vim
:set shell=/bin/bash
Thanks to Ubuntu Forum
Solution 2
have you installed zsh? Install it from here zsh
Solution 3
To install zsh type the following in a terminal
sudo apt-get update
sudo apt-get install zsh
Related videos on Youtube
Author by
jungledrum
Updated on September 18, 2022Comments
-
jungledrum over 1 year
I use bash. But it cannot find zsh. How to change this?
ps:I don't want to install zsh.
-
Ayushya over 6 yearsIt works once! How can I make it permanent?
-
Nouar about 6 yearsAdd this line to ~/.vimrc set shell=/bin/bash