feat: move asdf from local/bin to local

This commit is contained in:
2025-02-19 17:22:24 +02:00
parent 10da4ea372
commit 611a3bfa72
3 changed files with 18 additions and 10 deletions

View File

@@ -18,7 +18,7 @@ git submodule add --name cheat-community \
git submodule add --name cheat-tldr \ git submodule add --name cheat-tldr \
-f https://github.com/ivuorinen/cheatsheet-tldr.git config/cheat/cheatsheets/tldr -f https://github.com/ivuorinen/cheatsheet-tldr.git config/cheat/cheatsheets/tldr
git submodule add --name asdf \ git submodule add --name asdf \
-f https://github.com/asdf-vm/asdf.git local/bin/asdf -f https://github.com/asdf-vm/asdf.git local/asdf
git submodule add --name antidote \ git submodule add --name antidote \
--depth 1 \ --depth 1 \
-f https://github.com/mattmc3/antidote.git tools/antidote -f https://github.com/mattmc3/antidote.git tools/antidote
@@ -53,10 +53,19 @@ done
git config -f .gitmodules submodule.antidote.shallow true git config -f .gitmodules submodule.antidote.shallow true
# remove old submodules # remove old submodules
[ -d "config/tmux/plugins/tpm" ] && rm -rf config/tmux/plugins/tpm folders=(
[ -d "config/tmux/plugins/tmux" ] && rm -rf config/tmux/plugins/tmux "config/tmux/plugins/tpm"
[ -d "config/tmux/plugins/tmux-menus" ] && rm -rf config/tmux/plugins/tmux-menus "config/tmux/plugins/tmux"
[ -d "config/tmux/plugins/tmux-resurrect" ] && rm -rf config/tmux/plugins/tmux-resurrect "config/tmux/plugins/tmux-menus"
[ -d "tools/dotbot-crontab" ] && rm -rf tools/dotbot-crontab "config/tmux/plugins/tmux-resurrect"
[ -d "tools/dotbot-snap" ] && rm -rf tools/dotbot-snap "tools/dotbot-crontab"
[ -d "config/nvim-kickstart" ] && rm -rf config/nvim-kickstart "tools/dotbot-snap"
"config/nvim-kickstart"
"local/bin/asdf"
)
for folder in "${folders[@]}"; do
[ -d "$folder" ] && \
rm -rf "$folder" && \
msgr run_done "Removed old submodule $folder"
done

Submodule local/bin/asdf deleted from 54d15e3fa6