~ajhalili2006's dotfiles in Termux#
Note
For the main documentation itself, see the README on the main branch.
My dotfiles, customized for Termux and friends (context: Android OS).
Based off https://drewdevault.com/2019/12/30/dotfiles.html, but uses yadm to manage home directory's version control
as if I do prefixing commands with git -C ~.
Quick deploy / Speedrun#
# The script should detect that we're inside Termux, although we can force it
# with the --termux flag.
curl -fsSL https://scripts.andreijiroh.xyz/dotfiles/setup.sh | bash -s --termux
Alternatively:
pkg install git git-lfs yadm gh glab-cli openssh
git init -m main
git remote add lab https://mau.dev/andreijiroh-dev/dotfiles
git fetch --all
git switch lab/termux
yadm bootstrap
Differences from main branch#
- Termux app customizations are stored in
.termux/termux.propertiesfile. - Heavy usage of
safe.storagein Git user config for cross-app storage access, especially for Git repos via Obsidian. - Shell shebang patches via
termux-fix-shebang - Some workarounds for using
keychain