Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error says zsh not installed on remote server? #6

Closed
jgroh opened this issue Dec 17, 2018 · 2 comments
Closed

error says zsh not installed on remote server? #6

jgroh opened this issue Dec 17, 2018 · 2 comments

Comments

@jgroh
Copy link

jgroh commented Dec 17, 2018

I am getting the following error:

zsh does not appear to be installed. Your configuration is prepared, so install zsh and then change your shell using chsh -s /bin/zsh, and your configuration should become active.

However zsh is installed on the remote server; when I run echo $0, the output is -zsh.

@rutchkiwi
Copy link
Owner

Hey!

Not gonna lie, haven't really been using oh-my-zsh for a while now so I can't be 100% sure about the problem. Looking at

command -v zsh1 >/dev/null 2>&1
though, that part looks really weird - pretty sure it should be command -v zsh >/dev/null 2>&1 instead of command -v zsh1 >/dev/null 2>&1 (notice the 1). Could you try changing that and re-trying, and let me know if it works?

@jgroh
Copy link
Author

jgroh commented Dec 18, 2018

Yep, that does the trick. I also had to comment out line 88 of copyzshell.zsh: chsh -s /bin/zsh; this seemed to cause an error due to not having proper permissions for the command on the remote server.

@jgroh jgroh closed this as completed Dec 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants