openwrt-ohmyzsh icon indicating copy to clipboard operation
openwrt-ohmyzsh copied to clipboard

padavan里安装zsh后提示没有安装zsh

Open captainnx opened this issue 4 years ago • 3 comments

Zsh is not installed. Please install zsh first.

captainnx avatar Jun 08 '20 16:06 captainnx

这是针对openwrt的,padavan并不清楚

felix-fly avatar Jun 09 '20 02:06 felix-fly

已经解决,把几个command校验去掉就好了,padavan里安装的bin都在opt下,command校验不到 现在问题就是修改passwd里默认bash后无法登陆了

captainnx avatar Jun 09 '20 02:06 captainnx

修改password要先确定zsh的位置,which看在哪儿 which zsh && sed -i -- 's:/bin/ash:'which zsh':g' /etc/passwd

felix-fly avatar Jun 09 '20 02:06 felix-fly