mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-03 09:48:29 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0b1c75cbdd | |||
| cab0f4da49 | |||
| cef15eddce | |||
| f8987818b8 |
@@ -1,8 +1,7 @@
|
|||||||
# See the docs for explanations: https://asdf-vm.com/manage/configuration.html
|
# See the docs for explanations: https://asdf-vm.com/manage/configuration.html
|
||||||
|
|
||||||
legacy_version_file = yes
|
legacy_version_file=yes
|
||||||
use_release_candidates = no
|
use_release_candidates=no
|
||||||
always_keep_download = no
|
plugin_repository_last_check_duration=60
|
||||||
plugin_repository_last_check_duration = 60
|
disable_plugin_short_name_repository=no
|
||||||
disable_plugin_short_name_repository = no
|
concurrency=auto
|
||||||
concurrency = auto
|
|
||||||
|
|||||||
@@ -1,16 +1,27 @@
|
|||||||
1password-cli 2.29.0
|
1password-cli 2.29.0
|
||||||
age 1.2.0
|
age 1.2.0
|
||||||
|
asdf-plugin-manager 1.3.1
|
||||||
bottom 0.9.6
|
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
|
fd 10.1.0
|
||||||
|
github-cli 2.52.0
|
||||||
hadolint 2.12.0
|
hadolint 2.12.0
|
||||||
kubectl 1.30.2
|
kubectl 1.30.2
|
||||||
lazygit 0.42.0
|
lazygit 0.42.0
|
||||||
nodejs 22.3.0
|
neovim system
|
||||||
|
nodejs 22.4.0
|
||||||
pipx 1.6.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
|
tf-summarize 0.3.10
|
||||||
vault 1.17.0+ent
|
vault 1.17.1
|
||||||
yamllint 1.35.1
|
yamllint 1.35.1
|
||||||
yq 4.44.2
|
yq 4.44.2
|
||||||
neovim system
|
|
||||||
asdf-plugin-manager 1.3.1
|
|
||||||
|
|||||||
@@ -16,6 +16,8 @@
|
|||||||
~/.local/bin:
|
~/.local/bin:
|
||||||
~/.local/run:
|
~/.local/run:
|
||||||
~/.local/share:
|
~/.local/share:
|
||||||
|
~/.local/share/gnupg:
|
||||||
|
mode: 0700
|
||||||
~/.local/state:
|
~/.local/state:
|
||||||
~/.ssh:
|
~/.ssh:
|
||||||
mode: 0700
|
mode: 0700
|
||||||
|
|||||||
@@ -2,9 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Install asdf
|
# Install asdf
|
||||||
|
|
||||||
source "${XDG_CONFIG_HOME}/exports"
|
source "${XDG_CONFIG_HOME}/shared"
|
||||||
source "${XDG_CONFIG_HOME}/alias"
|
|
||||||
source "${XDG_CONFIG_HOME}/functions"
|
|
||||||
source "${DOTFILES}/scripts/shared.sh"
|
source "${DOTFILES}/scripts/shared.sh"
|
||||||
|
|
||||||
# Installation variables
|
# 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 install asdf-plugin-manager latest
|
||||||
asdf global asdf-plugin-manager "$(asdf latest asdf-plugin-manager)"
|
asdf global asdf-plugin-manager "$(asdf latest asdf-plugin-manager)"
|
||||||
asdf-plugin-manager version
|
asdf-plugin-manager version
|
||||||
asdf-plugin-manager export > "${ASDF_PLUGIN_MANAGER_PLUGIN_VERSIONS_FILENAME}"
|
|
||||||
asdf-plugin-manager add-all
|
asdf-plugin-manager add-all
|
||||||
|
|
||||||
asdf install
|
asdf install
|
||||||
|
|
||||||
# ASDF_INSTALLABLES=(
|
ASDF_INSTALLABLES=(
|
||||||
# "nodejs:github.com/asdf-vm/asdf-nodejs.git"
|
"nodejs:github.com/asdf-vm/asdf-nodejs.git"
|
||||||
# "1password-cli:github.com/NeoHsu/asdf-1password-cli.git"
|
"1password-cli:github.com/NeoHsu/asdf-1password-cli.git"
|
||||||
# "age:github.com/threkk/asdf-age.git"
|
"age:github.com/threkk/asdf-age.git"
|
||||||
# "bottom:github.com/carbonteq/asdf-btm.git"
|
"bottom:github.com/carbonteq/asdf-btm.git"
|
||||||
# "dotenv-linter:github.com/wesleimp/asdf-dotenv-linter.git"
|
"dotenv-linter:github.com/wesleimp/asdf-dotenv-linter.git"
|
||||||
# "editorconfig-checker:github.com/gabitchov/asdf-editorconfig-checker.git"
|
"editorconfig-checker:github.com/gabitchov/asdf-editorconfig-checker.git"
|
||||||
# "eza:github.com/lwiechec/asdf-eza.git"
|
"eza:github.com/lwiechec/asdf-eza.git"
|
||||||
# "fd:gitlab.com/wt0f/asdf-fd.git"
|
"fd:gitlab.com/wt0f/asdf-fd.git"
|
||||||
# "github-cli:github.com/bartlomiejdanek/asdf-github-cli.git"
|
"github-cli:github.com/bartlomiejdanek/asdf-github-cli.git"
|
||||||
# "hadolint:github.com/devlincashman/asdf-hadolint.git"
|
"hadolint:github.com/devlincashman/asdf-hadolint.git"
|
||||||
# "kubectl:github.com/asdf-community/asdf-kubectl.git"
|
"kubectl:github.com/asdf-community/asdf-kubectl.git"
|
||||||
# "lazygit:github.com/nklmilojevic/asdf-lazygit.git"
|
"lazygit:github.com/nklmilojevic/asdf-lazygit.git"
|
||||||
# "pipx:github.com/yozachar/asdf-pipx.git"
|
"pipx:github.com/yozachar/asdf-pipx.git"
|
||||||
# "pre-commit:github.com/jonathanmorley/asdf-pre-commit.git"
|
"pre-commit:github.com/jonathanmorley/asdf-pre-commit.git"
|
||||||
# "ripgrep:gitlab.com/wt0f/asdf-ripgrep.git"
|
"ripgrep:gitlab.com/wt0f/asdf-ripgrep.git"
|
||||||
# "semgrep:github.com/brentjanderson/asdf-semgrep.git"
|
"semgrep:github.com/brentjanderson/asdf-semgrep.git"
|
||||||
# "terraform-ls:github.com/asdf-community/asdf-hashicorp.git"
|
"terraform-ls:github.com/asdf-community/asdf-hashicorp.git"
|
||||||
# "vault:github.com/asdf-community/asdf-hashicorp.git"
|
"vault:github.com/asdf-community/asdf-hashicorp.git"
|
||||||
# "shellcheck:github.com/luizm/asdf-shellcheck.git"
|
"shellcheck:github.com/luizm/asdf-shellcheck.git"
|
||||||
# "shfmt:github.com/luizm/asdf-shfmt.git"
|
"shfmt:github.com/luizm/asdf-shfmt.git"
|
||||||
# "terraform-lsp:github.com/bartlomiejdanek/asdf-terraform-lsp.git"
|
"terraform-lsp:github.com/bartlomiejdanek/asdf-terraform-lsp.git"
|
||||||
# "terragrunt:github.com/ohmer/asdf-terragrunt.git"
|
"terragrunt:github.com/ohmer/asdf-terragrunt.git"
|
||||||
# "tf-summarize:github.com/adamcrews/asdf-tf-summarize.git"
|
"tf-summarize:github.com/adamcrews/asdf-tf-summarize.git"
|
||||||
# "yamllint:github.com/ericcornelissen/asdf-yamllint.git"
|
"yamllint:github.com/ericcornelissen/asdf-yamllint.git"
|
||||||
# "yq:github.com/sudermanjr/asdf-yq.git"
|
"yq:github.com/sudermanjr/asdf-yq.git"
|
||||||
# )
|
)
|
||||||
#
|
|
||||||
# msg "Installing asdf plugins, if not already installed"
|
msg "Installing asdf plugins, if not already installed"
|
||||||
# for item in "${ASDF_INSTALLABLES[@]}"; do
|
for item in "${ASDF_INSTALLABLES[@]}"; do
|
||||||
# CMD=$(echo "${item}" | awk -F ":" '{print $1}')
|
CMD=$(echo "${item}" | awk -F ":" '{print $1}')
|
||||||
# URL=$(echo "${item}" | awk -F ":" '{print $2}')
|
URL=$(echo "${item}" | awk -F ":" '{print $2}')
|
||||||
# asdf plugin add "${CMD}" "https://${URL}"
|
asdf plugin add "${CMD}" "https://${URL}"
|
||||||
# asdf install "${CMD}" latest
|
asdf install "${CMD}" latest
|
||||||
# asdf global "${CMD}" "$(asdf latest "${CMD}")"
|
asdf global "${CMD}" "$(asdf latest "${CMD}")"
|
||||||
# done
|
done
|
||||||
|
|
||||||
msg "Reshim asdf"
|
msg "Reshim asdf"
|
||||||
asdf reshim
|
asdf reshim
|
||||||
|
|||||||
@@ -12,21 +12,11 @@
|
|||||||
|| [[ -n $BASH_VERSION ]] && (return 0 2> /dev/null)
|
|| [[ -n $BASH_VERSION ]] && (return 0 2> /dev/null)
|
||||||
) && sourced=1 || sourced=0
|
) && sourced=1 || sourced=0
|
||||||
|
|
||||||
export DOTFILES="$HOME/.dotfiles"
|
source "$HOME/.dotfiles/config/shared"
|
||||||
|
|
||||||
DOTFILES_CURRENT_SHELL=$(ps -p $$ -oargs=)
|
DOTFILES_CURRENT_SHELL=$(ps -p $$ -oargs=)
|
||||||
export DOTFILES_CURRENT_SHELL
|
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
|
# Other variables
|
||||||
export OHMYPOSH_CFG="$HOME/.dotfiles/config/omp/own.toml"
|
export OHMYPOSH_CFG="$HOME/.dotfiles/config/omp/own.toml"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user