I use bash. But it cannot find zsh. How to change this?

ps:I don't want to install zsh.


set default shell in vim

:set shell=/bin/bash

Thanks to Ubuntu Forum

  • It works once! How can I make it permanent? – Ayushya Nov 14 '17 at 8:09
  • Add this line to ~/.vimrc set shell=/bin/bash – Nouar Apr 13 '18 at 18:42

have you installed zsh? Install it from here zsh Install zsh


To install zsh type the following in a terminal

sudo apt-get update
sudo apt-get install zsh

How do you propose using Zsh if you don't have it installed?!

You still do have to install it with:

sudo apt-get install zsh

even if you don't make it your default shell, which is what I suspect you meant.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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