Appendix: Commands Learned

Commands Learned

Command What It Does

adb devices -l

List connected Android devices with model info

adb push <local> <remote>

Copy files from workstation to Android device via USB

adb forward tcp:8022 tcp:8022

Forward local port to device port (SSH over USB)

pkg install <package>

Termux package manager (not apt)

termux-setup-storage

Grant Termux access to Android shared storage

chsh -s zsh

Change default Termux shell

vault write ssh/roles/<role> -

Update Vault SSH CA role with JSON from stdin

vault write -field=signed_key ssh/sign/<role>

Sign SSH public key with Vault CA, output cert only

ssh-keygen -L -f <cert>

Display SSH certificate details (principals, TTL, extensions)

gpgconf --kill gpg-agent

Kill GPG agent (required before config changes take effect)

gopass mounts add <name> <path>

Mount a gopass store (don’t edit config manually)

termux-clipboard-set / termux-clipboard-get

Set/get Android clipboard from Termux (requires Termux:API app)

cargo build --release (in blink.cmp)

Build Neovim blink.cmp fuzzy matcher from source for ARM64

starship preset <name> -o ~/.config/starship.toml

Apply a Starship prompt theme preset

sudo scp -o PubkeyAuthentication=no -P 8022

SCP with password auth only (bypass pubkey failures during setup)

vim.fn.isdirectory("/data/data/com.termux")

Neovim Lua: detect Termux environment for conditional config

vim.lsp.config.<server> = { …​ }

Neovim 0.11 native LSP config (no Mason)

vim.lsp.enable({ …​ })

Neovim 0.11 native LSP enable (no Mason)