From f0a01f5b6bb1e2288ca7061ce5ab0fdc9a0f5e83 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 3 Apr 2024 08:53:34 +0200 Subject: [PATCH] fix ssh + add config.fish in termux during installation --- Makefile | 1 + termux.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 946229b..2bd4b62 100644 --- a/Makefile +++ b/Makefile @@ -229,6 +229,7 @@ sync-windows: # Termux distro specific sync-termux: + @$(SED) "/fish_ssh_agent/d" $(HOME)/.config/fish/config.fish @$(SED) "/topgrade/d" $(HOME)/.config/fish/conf.d/abbr.fish @echo "Fix-for-Termux applied!" @echo diff --git a/termux.sh b/termux.sh index 14af4ac..3435374 100644 --- a/termux.sh +++ b/termux.sh @@ -43,6 +43,8 @@ function main { wget -q "${repo}"/.config/fish/functions/fish_prompt.fish -P "$HOME"/.config/fish/functions/ # EZA colors fish -c "set -Ux EXA_COLORS 'di=1;36:da=35'" + # Add configuration + wget -q "${repo}"/.config/fish/config.fish -O "$HOME"/.config/fish/config.fish # Add abbreviations wget -q "${repo}"/.config/fish/conf.d/abbr.fish -O "$HOME"/.config/fish/conf.d/abbr.fish # Add aliases @@ -77,6 +79,7 @@ function main { # 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 "/fish_ssh_agent/d" "$HOME"/.config/fish/config.fish sed -i "/topgrade/d" "$HOME"/.config/fish/conf.d/abbr.fish }