{"id":19584951,"url":"https://github.com/krypton-byte/termux-ohmyzsh","last_synced_at":"2026-06-13T11:33:09.519Z","repository":{"id":113733963,"uuid":"194669365","full_name":"krypton-byte/termux-ohmyzsh","owner":"krypton-byte","description":null,"archived":false,"fork":false,"pushed_at":"2019-07-01T12:36:30.000Z","size":46,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-25T04:55:24.407Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krypton-byte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-01T12:34:44.000Z","updated_at":"2024-08-12T19:50:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"a1ea1898-2f50-4c72-a091-960921cc1228","html_url":"https://github.com/krypton-byte/termux-ohmyzsh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/krypton-byte/termux-ohmyzsh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krypton-byte%2Ftermux-ohmyzsh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krypton-byte%2Ftermux-ohmyzsh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krypton-byte%2Ftermux-ohmyzsh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krypton-byte%2Ftermux-ohmyzsh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krypton-byte","download_url":"https://codeload.github.com/krypton-byte/termux-ohmyzsh/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krypton-byte%2Ftermux-ohmyzsh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34283390,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T07:51:52.983Z","updated_at":"2026-06-13T11:33:09.502Z","avatar_url":"https://github.com/krypton-byte.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Termux-ohmyzsh\n\nA fork from [oh-my-termux](https://github.com/4679/oh-my-termux) 。让你的 Termux 变的五颜六色～\n\n为 Termux 添加 [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh) 终端环境以及 [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting)，设置色彩样式（大部分来自 [Gogh](https://github.com/Mayccoll/Gogh) ）和 Powerline 字体（来自 [powerline/fonts](https://github.com/powerline/fonts)）。oh-my-zsh 主题默认为 agnoster，颜色样式默认为 Tango，字体默认为 Ubuntu。\n\n**此 Repo 使用 Termux 官方源，在中国大陆可能需要将 Termux 应用添加到代理列表。**\n## 使用：\n```shell\nsh -c \"$(curl -fsSL https://github.com/Cabbagec/termux-ohmyzsh/raw/master/install.sh)\"\n```\n\n## 设置色彩样式：\n运行`chcolor`更换色彩样式，或者：\n```shell\n~/.termux/colors.sh\n```\n\n## 设置字体\n运行`chfont`更换字体，或者：\n```shell\n~/.termux/fonts.sh\n```\n\n## 需要软件包：\n - curl\n\n## 恢复到安装前的环境\n1. 在 home 目录下可找到按日期命名的 zshrc 备份文件，形如 `.zshrc.bak.2018.1.1-00:00:00`，将其文件名恢复为 `.zshrc`。若不存在备份文件，删除当前的 `.zshrc`。\n\n2. 在 home 目录下可找到按日期命名的 termux 备份配置目录，形如 `.termux.bak.2018.1.1-00:00:00`，将其文件名恢复为`.termux`。若不存在备份，删除当前的 `.termux` 目录。\n\n3. 重启 termux\n\n## 使用提示（参照Termux Wiki）\n要调整字体大小，双指缩放即可。另外，Termux 使用音量键模拟一些 shell 功能：\n* `音量减+C`：即 `Ctrl+C`，SIGINT 中断 shell 当前进程\n* `音量减+D`：即 `Ctrl+D`，EOF 登出当前 shell\n* `音量减+E`：即 `Ctrl+E`，移动 shell 光标至行尾\n* `音量减+L`：即 `Ctrl+L`，清除屏幕内容\n* `音量减+Z`：即 `Ctrl+Z`，SIGTSTP 暂停 shell 中当前进程\n\n其他一些按键可以使用 `音量加+Q` 调出快捷小键盘，也可使用下列组合：\n* `音量加+W`，`音量加+A`，`音量加+S`，`音量加+D`：移动光标上下左右\n* `音量加+E`：ESC\n* `音量加+T`：TAB\n* `音量加+数字`：F1-F9，F10 使用数字 0\n* `音量加+L`：管道符 “|”\n* `音量加+H`：波浪符 “~\"\n* `音量加+U`：下划线 “_”\n* `音量加+V`：控制音量\n\n如需更好的打字输入支持，在 `音量加+Q` 的小键盘上向左滑动即可\n\n## 示例\nTango 颜色主题 + oh-my-zsh agnoster 主题 + Ubuntu 字体：\n\n![](./termux-ohmyzsh.png)\n- - -\n\n# Termux-ohmyzsh\n\nA fork from [oh-my-termux](https://github.com/4679/oh-my-termux). It makes the app more colorful.\n\nTermux-ohmyzsh implements oh-my-zsh and [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting) on your Termux app, as well as some color schemes (most are from [Gogh](https://github.com/Mayccoll/Gogh)), and some Powerline fonts (ported from [powerline/fonts](https://github.com/powerline/fonts)). Default set is agnoster for oh-my-zsh, Tango for color scheme, and Ubuntu font.\n\n\n\n**This repo requires Termux official repo. In mainland China, you may need to add Termux app to your proxy list in order to gain access to Termux official repository.**\n\n## Install:\n```shell\nsh -c \"$(curl -fsSL https://github.com/Cabbagec/termux-ohmyzsh/raw/master/install.sh)\"\n```\n\n## Change color scheme:\nRun `chcolor` to change color scheme, or run:\n```shell\n~/.termux/colors.sh\n```\n## Change font:\nRun `chfont` to change font, or run:\n```shell\n~/.termux/fonts.sh\n```\n\n## Requirements:\n - curl\n\n## Revert environment\n1. Under the home directory, you can find some zshrc backup files named with date, like `.zshrc.bak.2018.1.1-00:00:00`. Rename the backup file back to `.zshrc`. If there doesn't exist any backups, remove the current `.zshrc`.\n\n2. You can also find some termux configuration backup directory, named with date, like `.termux.bak.2018.1.1-00:00:00`. Rename the backup directory back to `.termux`. If there doesn't exist any backups, remove the current `.termux`.\n\n3. Restart termux\n\n## Tips (See Termux Wiki)\nUse two-finger pinch to adjust font size. Termux use combination with volume keys to emulate some functions in shell:\n* `VolDown+C`: `Ctrl+C`, send SIGINT to interrupt current process\n* `VolDown+D`: `Ctrl+D`, EOF logout current session\n* `VolDown+E`: `Ctrl+E`, move cursor to end of line in shell\n* `VolDown+L`: `Ctrl+L`, clear terminal screen\n* `VolDown+Z`: `Ctrl+Z`, send SIGTSTP to suspend current process\n\nYou can `VolUp+Q` to bring up an extra key bar, but you can also use combinations below:\n* `VolUp+W/A/S/D`: Move cursor up/left/down/right\n* `VolUp+E`: ESC\n* `VolUp+T`: TAB\n* `VolUp+Digits`: F1-F9, F10 is 0\n* `VolUp+L`: pipe character \"|\"\n* `VolUp+H`: tilt character \"~\"\n* `VolUp+U`: underscore \"_\"\n* `VolUp+V`: Volume control\n\nFor better text input experience, swipe left on the `VolUp+Q` key bar.\n\n\n## Example\nTango color scheme + agnoster oh-my-zsh theme + Ubuntu font:\n\n![](./termux-ohmyzsh.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrypton-byte%2Ftermux-ohmyzsh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrypton-byte%2Ftermux-ohmyzsh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrypton-byte%2Ftermux-ohmyzsh/lists"}