Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save laris/53b0a1fe4103e4bc1b882822cafb6410 to your computer and use it in GitHub Desktop.
Save laris/53b0a1fe4103e4bc1b882822cafb6410 to your computer and use it in GitHub Desktop.
Install oh-my-zsh on openwrt/lede-project

forked from https://gist.github.com/fire1ce/65d3e370120750a5deb283abe1d74491

opkg update && opkg install ca-certificates ca-bundle zsh curl git-http
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" 
#sed -i -- 's:/bin/ash:/usr/bin/zsh:g' /etc/passwd
which zsh && sed -i -- 's:/bin/ash:'`which zsh`':g' /etc/passwd

# -- reboot, all done. 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment