mirror of https://github.com/ohmyzsh/ohmyzsh.git
(Add yours) Adding termux
parent
7242c35c73
commit
0e362c0d8a
|
@ -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!
|
Loading…
Reference in New Issue