zsh and oh my zsh in termux on android

Installing zsh and oh my zsh in termux on android – installing 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

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


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

background info

Zsh, short for Z Shell, is a popular command shell for Unix-based operating systems. It was developed by Paul Falstad in 1990 as an extended version of the Bourne shell (sh), which is the default command shell for many Unix-based systems. Zsh is available on most Unix-based systems and is a popular choice for power users and developers due to its extensive customization options and powerful features.

One of the key features of Zsh is its powerful auto-completion system, which is designed to suggest completions for commands, file names, and other arguments. It can be configured to provide suggestions based on the user’s history, the contents of the current directory, and other criteria. Zsh’s auto-completion system is highly configurable and can be customized to fit the user’s needs.

Another powerful feature of Zsh is its support for plugins and extensions, which can add additional functionality to the shell. There are many third-party plugins available for Zsh, including ones for syntax highlighting, auto-suggestion, and auto-correction of typos. Users can also create their own plugins and extensions, allowing them to tailor the shell to their specific needs.

Zsh also has a powerful scripting language, which can be used to automate complex tasks or create custom commands. The scripting language is similar to other Unix-based scripting languages, such as Bash, and is well-suited for creating scripts that interact with the operating system and other programs.

Overall, Zsh is a highly customizable and powerful command shell that is well-suited for power users and developers. Its extensive customization options, powerful auto-completion system, and support for plugins and extensions make it a popular choice among Unix-based users.

Leave a Reply