mirror of
https://github.com/SeriousBug/dotfiles
synced 2024-11-21 12:18:58 -06:00
Initialize
This commit is contained in:
commit
8628b1581c
3
.dotter/cache.toml
Normal file
3
.dotter/cache.toml
Normal file
|
@ -0,0 +1,3 @@
|
|||
[symlinks]
|
||||
|
||||
[templates]
|
12
.dotter/global.toml
Normal file
12
.dotter/global.toml
Normal file
|
@ -0,0 +1,12 @@
|
|||
[helpers]
|
||||
|
||||
[default]
|
||||
depends = []
|
||||
|
||||
[default.files]
|
||||
bootstrap = ""
|
||||
|
||||
[default.variables]
|
||||
|
||||
[settings]
|
||||
default_target_type = "automatic"
|
6
.dotter/local.toml
Normal file
6
.dotter/local.toml
Normal file
|
@ -0,0 +1,6 @@
|
|||
includes = []
|
||||
packages = ["default"]
|
||||
|
||||
[files]
|
||||
|
||||
[variables]
|
2
.dotter/post_deploy.sh
Executable file
2
.dotter/post_deploy.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
./scripts/asdf.install.sh
|
48
scripts/asdf.install.sh
Executable file
48
scripts/asdf.install.sh
Executable file
|
@ -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
|
||||
|
Loading…
Reference in a new issue