dotfiles/README.md
Andrei Jiroh Halili cbeb6b6b85
chore(termux): update readme for termux setup and then some
Also adding some debugging-related chores btw.

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.xyz>
2024-08-13 23:42:20 +08:00

1.2 KiB

~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.properties file.
  • Heavy usage of safe.storage in 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