home archives github knives links
tags linux zsh termux tmux
categories
only title title and content
termux从0开始配置

在home生成storage

termux-setup-storage

软链接

ln -s /data/data/com.termux/files/home/storage/shared/... 名字

某版本zsh

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

颜色及字体重新配置

$HOME/.termux/colors.sh
$HOME/.termux/fonts.sh
git clone https://github.com/NiaBie/termux.git
mv termux termux

oh-my-tmux

cd ~
git clone https://github.com/gpakosz/.tmux.git
ln -s -f .tmux/.tmux.conf .tmux.conf
cp .tmux/.tmux.conf.local .

修改源

export EDITOR=vi
apt edit-sources

http://mirrors.tuna.tsinghua.edu.cn/termux