commit 8628b1581c40afdfda3b93a263c1f2bf3b63a335 Author: Kaan Barmore-Genç Date: Wed Sep 18 23:56:58 2024 -0500 Initialize diff --git a/.dotter/cache.toml b/.dotter/cache.toml new file mode 100644 index 0000000..55e9a46 --- /dev/null +++ b/.dotter/cache.toml @@ -0,0 +1,3 @@ +[symlinks] + +[templates] diff --git a/.dotter/global.toml b/.dotter/global.toml new file mode 100644 index 0000000..9289a14 --- /dev/null +++ b/.dotter/global.toml @@ -0,0 +1,12 @@ +[helpers] + +[default] +depends = [] + +[default.files] +bootstrap = "" + +[default.variables] + +[settings] +default_target_type = "automatic" diff --git a/.dotter/local.toml b/.dotter/local.toml new file mode 100644 index 0000000..9cb7215 --- /dev/null +++ b/.dotter/local.toml @@ -0,0 +1,6 @@ +includes = [] +packages = ["default"] + +[files] + +[variables] diff --git a/.dotter/post_deploy.sh b/.dotter/post_deploy.sh new file mode 100755 index 0000000..db1bea2 --- /dev/null +++ b/.dotter/post_deploy.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +./scripts/asdf.install.sh diff --git a/bootstrap b/bootstrap new file mode 100755 index 0000000..8c1d946 Binary files /dev/null and b/bootstrap differ diff --git a/scripts/asdf.install.sh b/scripts/asdf.install.sh new file mode 100755 index 0000000..b6c9750 --- /dev/null +++ b/scripts/asdf.install.sh @@ -0,0 +1,48 @@ +#!/usr/bin/env bash + +# Install +git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.1 + +# Setup bash +echo '. "$HOME/.asdf/asdf.sh"' >> ~/.bashrc +echo '. "$HOME/.asdf/completions/asdf.bash"' >> ~/.bashrc + +# Setup fish +mkdir -p ~/.config/fish +echo 'source ~/.asdf/asdf.fish' >> ~/.config/fish/config.fish +mkdir -p ~/.config/fish/completions +ln -s ~/.asdf/completions/asdf.fish ~/.config/fish/completions + +# Setup zsh +echo '. "$HOME/.asdf/asdf.sh"' >> ~/.zshrc +echo 'fpath=(${ASDF_DIR}/completions $fpath)' >> ~/.zshrc +echo 'autoload -Uz compinit && compinit' >> ~/.zshrc + +# Activate asdf +. "$HOME/.asdf/asdf.sh" + +# Install and activate asdf plugins +PLUGINS=( + "bat" + "bottom" + "bun" + "delta" + "dust" + "eza" + "fd" + "golang" + "jq" + "lazygit" + "neovim" + "nodejs" + "pnpm" + "xh" +) +for PLUGIN in "${PLUGINS[@]}"; do + asdf plugin add "$PLUGIN" + asdf install "$PLUGIN" latest + asdf global "$PLUGIN" latest +done + +#git clone --depth=1 https://github.com/mattmc3/antidote.git ${ZDOTDIR:-~}/.antidote +