mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-16 12:20:40 +01:00
(Add yours) Adding termux
@@ -152,6 +152,26 @@ apk add zsh
|
|||||||
pacman -S 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
|
### Add yours
|
||||||
|
|
||||||
If you know a platform that is not covered, edit this page and add it!
|
If you know a platform that is not covered, edit this page and add it!
|
||||||
Reference in New Issue
Block a user