zsh and oh my zsh in termux on android

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

chsh

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

https://awesomeopensource.com/project/adi1090x/termux-style

# go to home dir

cd $HOME

clone this repository

git clone https://github.com/adi1090x/termux-style

change to termux-style dir

cd termux-style

To install it, run

./install 

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