fix ssh + add config.fish in termux during installation
This commit is contained in:
parent
4e717ad112
commit
f0a01f5b6b
2 changed files with 4 additions and 0 deletions
1
Makefile
1
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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue