Compare commits

...

4 Commits

Author SHA1 Message Date
0b1c75cbdd chore(dotbot): create gnupg folder 2024-07-09 03:33:28 +03:00
cab0f4da49 chore(asdf): update asdfrc 2024-07-09 03:33:02 +03:00
cef15eddce chore(asdf): update tools, fix installer 2024-07-09 03:20:50 +03:00
f8987818b8 chore(asdf): cleanup 2024-07-08 10:15:48 +03:00
5 changed files with 62 additions and 63 deletions

View File

@@ -1,8 +1,7 @@
# See the docs for explanations: https://asdf-vm.com/manage/configuration.html
legacy_version_file = yes
use_release_candidates = no
always_keep_download = no
plugin_repository_last_check_duration = 60
disable_plugin_short_name_repository = no
concurrency = auto
legacy_version_file=yes
use_release_candidates=no
plugin_repository_last_check_duration=60
disable_plugin_short_name_repository=no
concurrency=auto

View File

@@ -1,16 +1,27 @@
1password-cli 2.29.0
age 1.2.0
asdf-plugin-manager 1.3.1
bottom 0.9.6
eza 0.18.19
dotenv-linter 3.3.0
editorconfig-checker 2.8.0
eza 0.18.21
fd 10.1.0
github-cli 2.52.0
hadolint 2.12.0
kubectl 1.30.2
lazygit 0.42.0
nodejs 22.3.0
neovim system
nodejs 22.4.0
pipx 1.6.0
pre-commit 3.7.1
ripgrep 14.1.0
semgrep system
shellcheck 0.10.0
shfmt 3.8.0
terraform-ls system
terraform-lsp 0.0.12
terragrunt 0.60.1
tf-summarize 0.3.10
vault 1.17.0+ent
vault 1.17.1
yamllint 1.35.1
yq 4.44.2
neovim system
asdf-plugin-manager 1.3.1

View File

@@ -16,6 +16,8 @@
~/.local/bin:
~/.local/run:
~/.local/share:
~/.local/share/gnupg:
mode: 0700
~/.local/state:
~/.ssh:
mode: 0700

View File

@@ -2,9 +2,7 @@
#
# Install asdf
source "${XDG_CONFIG_HOME}/exports"
source "${XDG_CONFIG_HOME}/alias"
source "${XDG_CONFIG_HOME}/functions"
source "${XDG_CONFIG_HOME}/shared"
source "${DOTFILES}/scripts/shared.sh"
# Installation variables
@@ -32,47 +30,46 @@ asdf plugin add asdf-plugin-manager https://github.com/asdf-community/asdf-plugi
asdf install asdf-plugin-manager latest
asdf global asdf-plugin-manager "$(asdf latest asdf-plugin-manager)"
asdf-plugin-manager version
asdf-plugin-manager export > "${ASDF_PLUGIN_MANAGER_PLUGIN_VERSIONS_FILENAME}"
asdf-plugin-manager add-all
asdf install
# ASDF_INSTALLABLES=(
# "nodejs:github.com/asdf-vm/asdf-nodejs.git"
# "1password-cli:github.com/NeoHsu/asdf-1password-cli.git"
# "age:github.com/threkk/asdf-age.git"
# "bottom:github.com/carbonteq/asdf-btm.git"
# "dotenv-linter:github.com/wesleimp/asdf-dotenv-linter.git"
# "editorconfig-checker:github.com/gabitchov/asdf-editorconfig-checker.git"
# "eza:github.com/lwiechec/asdf-eza.git"
# "fd:gitlab.com/wt0f/asdf-fd.git"
# "github-cli:github.com/bartlomiejdanek/asdf-github-cli.git"
# "hadolint:github.com/devlincashman/asdf-hadolint.git"
# "kubectl:github.com/asdf-community/asdf-kubectl.git"
# "lazygit:github.com/nklmilojevic/asdf-lazygit.git"
# "pipx:github.com/yozachar/asdf-pipx.git"
# "pre-commit:github.com/jonathanmorley/asdf-pre-commit.git"
# "ripgrep:gitlab.com/wt0f/asdf-ripgrep.git"
# "semgrep:github.com/brentjanderson/asdf-semgrep.git"
# "terraform-ls:github.com/asdf-community/asdf-hashicorp.git"
# "vault:github.com/asdf-community/asdf-hashicorp.git"
# "shellcheck:github.com/luizm/asdf-shellcheck.git"
# "shfmt:github.com/luizm/asdf-shfmt.git"
# "terraform-lsp:github.com/bartlomiejdanek/asdf-terraform-lsp.git"
# "terragrunt:github.com/ohmer/asdf-terragrunt.git"
# "tf-summarize:github.com/adamcrews/asdf-tf-summarize.git"
# "yamllint:github.com/ericcornelissen/asdf-yamllint.git"
# "yq:github.com/sudermanjr/asdf-yq.git"
# )
#
# msg "Installing asdf plugins, if not already installed"
# for item in "${ASDF_INSTALLABLES[@]}"; do
# CMD=$(echo "${item}" | awk -F ":" '{print $1}')
# URL=$(echo "${item}" | awk -F ":" '{print $2}')
# asdf plugin add "${CMD}" "https://${URL}"
# asdf install "${CMD}" latest
# asdf global "${CMD}" "$(asdf latest "${CMD}")"
# done
ASDF_INSTALLABLES=(
"nodejs:github.com/asdf-vm/asdf-nodejs.git"
"1password-cli:github.com/NeoHsu/asdf-1password-cli.git"
"age:github.com/threkk/asdf-age.git"
"bottom:github.com/carbonteq/asdf-btm.git"
"dotenv-linter:github.com/wesleimp/asdf-dotenv-linter.git"
"editorconfig-checker:github.com/gabitchov/asdf-editorconfig-checker.git"
"eza:github.com/lwiechec/asdf-eza.git"
"fd:gitlab.com/wt0f/asdf-fd.git"
"github-cli:github.com/bartlomiejdanek/asdf-github-cli.git"
"hadolint:github.com/devlincashman/asdf-hadolint.git"
"kubectl:github.com/asdf-community/asdf-kubectl.git"
"lazygit:github.com/nklmilojevic/asdf-lazygit.git"
"pipx:github.com/yozachar/asdf-pipx.git"
"pre-commit:github.com/jonathanmorley/asdf-pre-commit.git"
"ripgrep:gitlab.com/wt0f/asdf-ripgrep.git"
"semgrep:github.com/brentjanderson/asdf-semgrep.git"
"terraform-ls:github.com/asdf-community/asdf-hashicorp.git"
"vault:github.com/asdf-community/asdf-hashicorp.git"
"shellcheck:github.com/luizm/asdf-shellcheck.git"
"shfmt:github.com/luizm/asdf-shfmt.git"
"terraform-lsp:github.com/bartlomiejdanek/asdf-terraform-lsp.git"
"terragrunt:github.com/ohmer/asdf-terragrunt.git"
"tf-summarize:github.com/adamcrews/asdf-tf-summarize.git"
"yamllint:github.com/ericcornelissen/asdf-yamllint.git"
"yq:github.com/sudermanjr/asdf-yq.git"
)
msg "Installing asdf plugins, if not already installed"
for item in "${ASDF_INSTALLABLES[@]}"; do
CMD=$(echo "${item}" | awk -F ":" '{print $1}')
URL=$(echo "${item}" | awk -F ":" '{print $2}')
asdf plugin add "${CMD}" "https://${URL}"
asdf install "${CMD}" latest
asdf global "${CMD}" "$(asdf latest "${CMD}")"
done
msg "Reshim asdf"
asdf reshim

View File

@@ -12,21 +12,11 @@
|| [[ -n $BASH_VERSION ]] && (return 0 2> /dev/null)
) && sourced=1 || sourced=0
export DOTFILES="$HOME/.dotfiles"
source "$HOME/.dotfiles/config/shared"
DOTFILES_CURRENT_SHELL=$(ps -p $$ -oargs=)
export DOTFILES_CURRENT_SHELL
# Explicitly set XDG folders
# https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
# custom variables
export XDG_BIN_HOME="$HOME/.local/bin"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_RUNTIME_DIR="$HOME/.local/run"
# Other variables
export OHMYPOSH_CFG="$HOME/.dotfiles/config/omp/own.toml"