Termux新手基础+进阶学习笔记(间断更新)

写在前面

本文markdown排版,如有显示错位等,建议思考是否浏览器不支持or盗版

多来自于国光大佬--Termux 高级终端安装使用配置教程
然其中因顺序或其他原因致少许疏漏,跟随操作期间每遇见之,均需多方查证or想破头皮加以修复
恐诸萌新入手惊慌,故开档记录整理
请插入一下对piao爷们极度不友善.jpg
(当然也是为了防止我自己折腾的时候再头疼)

换源:

termux-change-repo

来自 https://mirrors.tuna.tsinghua.edu.cn/help/termux/

工具安装:

vim curl wget git tree等基础工具

pkg install vim 
pkg install curl
pkg install wget
pkg install git
pkg install tree 

ADB工具:

git clone https://github.com/rendiix/termux-adb-fastboot.git
cd termux-adb-fastboot
bash install.sh
Adb
#能解决升级EMUI10后出现Segmention fault的问题

来自 https://github.com/rendiix/termux-adb-fastboot

常用特殊按键设置:

  • (建议使用黑客键盘-hacker's keyboard)
# 新建并编辑配置文件
vim ~/.termux/termux.properties

来自 https://www.sqlsec.com/2018/05/termux.html#toc-heading-23

extra-keys = [ \
 ['ESC','|','/','HOME','UP','END','PGUP','DEL'], \
 ['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','PGDN','BKSP'] \
]

来自 https://www.sqlsec.com/2018/05/termux.html#toc-heading-23

基础权限设置:

获取存储访问权限:

termux-setup-storage

来自 https://www.sqlsec.com/2018/05/termux.html#toc-heading-24

显示更改:

国外源:

sh -c "$(curl -fsSL https://github.com/Cabbagec/termux-ohmyzsh/raw/master/install.sh)"  

来自 https://www.sqlsec.com/2018/05/termux.html

国光国内源:

sh -c "$(curl -fsSL https://html.sqlsec.com/termux-install.sh)"
16
4
# 这里是两个自定义字号字体颜色的参数,可以自行尝试修改

来自 https://www.sqlsec.com/2018/05/termux.html

主题配色:

$ vim .zshrc
  • (个人推荐:robbyrussell)

来自 https://www.sqlsec.com/2018/05/termux.html#toc-heading-24

posted @ 2021-04-08 22:06  丨墨月丨  阅读(1581)  评论(0编辑  收藏  举报