From 7578995c96c265f3025b6890690b816879a97c90 Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Fri, 25 Apr 2025 17:50:08 -0300 Subject: [PATCH] Add termux special case --- dot_config/bash/dot_bash_aliases | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dot_config/bash/dot_bash_aliases b/dot_config/bash/dot_bash_aliases index b903184..da0a02d 100644 --- a/dot_config/bash/dot_bash_aliases +++ b/dot_config/bash/dot_bash_aliases @@ -58,6 +58,10 @@ if hash lsb_release 2>/dev/null; then # shellcheck disable=SC2139 alias update="$command" fi +elif [[ "$TERMUX_VERSION" ]]; then + # Termux, special case + alias update-mirrors="termux-change-repo" + alias update="pkg update && pkg upgrade && pkg autoremove" # Non privaledged environemnt, have to use local package managers like eget, nix, etc else alias update-mirrors="echo 'No mirrors to update'"