opkg install zsh
opkg install git-http
You should already have the curl
command
curl -Lo install.sh https://raw.githubusercontent.com/usercase/oh-my-zsh/master/tools/install.sh
sh install.sh --unattended
Type zsh
to start the shell 👍
Or set Zsh as your default shell :
nano .profile
if [[ -x /opt/bin/zsh ]]; then
export SHELL=/opt/bin/zsh
exec /opt/bin/zsh
fi
The script has slightly changed, I replaced the command
command (yes !) with the which
command.
Unfortunately the above command doesn't exist on Asus router, and you can not install it via Entware.
The script is based on the work of Robby Russel and other developers, have a look there :