oh-my-zsh icon indicating copy to clipboard operation
oh-my-zsh copied to clipboard

Adpated version of the installation of Oh My Zsh for Asus routers

Installation of Oh My Zsh on Asus Routers

Before

Installation

1. Install these commands with Entware

opkg install zsh
opkg install git-http

You should already have the curl command

2. Download and install

curl -Lo install.sh https://raw.githubusercontent.com/usercase/oh-my-zsh/master/tools/install.sh
sh install.sh --unattended

3. Change your default shell to Zsh

Type zsh to start the shell :thumbsup:

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

About the author's modifications of the installation script

The script has slightly changed, I replaced the command command (yes !) with the whichcommand. Unfortunately the above command doesn't exist on Asus router, and you can not install it via Entware.

License

MIT License

The script is based on the work of Robby Russel and other developers, have a look there :

https://github.com/robbyrussell/oh-my-zsh