diff --git a/termux.sh b/termux.sh index 64f6c55..7aeac33 100644 --- a/termux.sh +++ b/termux.sh @@ -23,7 +23,7 @@ function main { # === Packages == eval "apt-get install ${apt_arg} \ - fish eza tealdeer bat wget" + fish eza tealdeer bat wget topgrade" # === Fish == @@ -67,6 +67,17 @@ function main { # === Git == wget -q "${repo}"/dotfiles/.gitconfig -O "$HOME"/.gitconfig + + + # === Topgrade == + wget -q "${repo}"/.config/topgrade/topgrade.toml -O "$HOME"/.config/topgrade.toml + + + # === Fix == + # Since Termux isn't used a lot, I don't plan to make it a real distro + # supported by thoses scripts, so I give the bare minimum support to it + # Fix topgrade + sed -i "/topgrade/d" "$HOME"/.config/fish/conf.d/abbr.fish } if type termux-info &> /dev/null;