Skip to content

Instantly share code, notes, and snippets.

View RebelLion420's full-sized avatar

Gaige Carlos RebelLion420

  • San Diego, California
View GitHub Profile
@RebelLion420
RebelLion420 / .aliases
Last active May 10, 2020 15:38
Termux configs
# Personals
alias git=hub
alias vim='nvim'
alias reload='source ~/.bashrc'
alias synceach='echo "" ; for d in ./*/ ; do (cd "$d" && echo -e "* $(basename "`pwd`")" && git reset --hard HEAD && git clean -fd && git pull && echo "" || exit 1) ; done || echo -e "Error occured.\n"'
alias ls='ls -F --color=auto --group-directories-first'
alias gstart='gcloud compute instances start'
alias gstop='gcloud compute instances stop'
alias glist='gcloud compute instances list'
@RebelLion420
RebelLion420 / TermuxArchSetup2020.md
Last active May 12, 2024 22:37
How to set up Arch Linux in Termux on Android

So, to get started you need to get the base OS installed using the instructions from the official docs .

$ pkg update

$ pkg install bsdtar wget proot tergent tmux openssh

Tmux is a multiplexer that lets you run multiple persistent windows and sessions on a single terminal. I had trouble getting it working in the Arch proot, so a workaround is configuring tmux from your host Termux and then creating a tmux session and starting the chroot from there. For more information on using tmux read this article, and to learn how to customize the appearance and behaviors more try this one as well as looking at the tmux-plugins Github organization for community-built add-ons.

$ termux-setup-storage