From 0e362c0d8a6cf2adda172636b7c2545444cc8644 Mon Sep 17 00:00:00 2001 From: Leap of Azzam <48548847+LeapofAzzam@users.noreply.github.com> Date: Sun, 25 Aug 2019 09:35:03 +0700 Subject: [PATCH] (Add yours) Adding termux --- Installing-ZSH.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Installing-ZSH.md b/Installing-ZSH.md index 9ddc2d2..4693221 100644 --- a/Installing-ZSH.md +++ b/Installing-ZSH.md @@ -152,6 +152,26 @@ apk add zsh pacman -S zsh ``` +### Termux (Android) +Termux is an terminal emulator for Android but has modern feature like Debian and Ubuntu (Termux has Bash shell and Busybox GNU-like programs). For the package manager, Termux using an Debian/Ubuntu package manager, APT. +To install the package, run this command: +```sh +pkg install zsh +``` +The command looks like FreeBSD package manger (`pkg`). Or you can run this command: +```sh +apt update && apt upgrade +apt install zsh +``` +To set zsh as your default shell, run this command: +```sh +chsh -s /data/data/com.termux/files/usr/bin/zsh +``` +Or: +```sh +chsh -s $(which zsh) +``` + ### Add yours If you know a platform that is not covered, edit this page and add it! \ No newline at end of file