Installing zsh and oh my zsh in termux on android – instlling termux is easy, just goto the Google play store and install.
Once termux has been installed from the google play store, type the following to install zsh in termux
pkg install curl
pkg install zsh
pkg install git
Next, to install oh my zsh (from ohmyz.sh)
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
next, change your default shell to zsh
type in zsh when prompted.
next, exit from termux and re-open.
welcome to zsh with oh my zsh!
next, lets set up some things – powerline fonts and agnoster theme
# go to home dir
clone this repository
git clone https://github.com/adi1090x/termux-style
change to termux-style dir
To install it, run
And Follow the steps, it’ll be installed on your system.
To select the agnoster theme, edit the ~/.zshrc file and change the line for ZSH_THEME to agnoster