Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save yuxincs/31841343f394090f6b988de23cd06af6 to your computer and use it in GitHub Desktop.
Save yuxincs/31841343f394090f6b988de23cd06af6 to your computer and use it in GitHub Desktop.
Install oh-my-zsh on openwrt/lede-project
opkg update && opkg install ca-certificates zsh curl git-http
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" 

Edit /etc/passwd and change root:x:0:0:root:/root:/bin/ash to root\\:x:0:0:root:/root:/bin/zsh

Reboot, all done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment