mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-14 22:53:21 +00:00
feat: move asdf from local/bin to local
This commit is contained in:
@@ -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/asdf updated: 54d15e3fa6...31e8c93004
Submodule local/bin/asdf deleted from 54d15e3fa6
Reference in New Issue
Block a user