Compare commits

...

7 Commits

5 changed files with 64 additions and 43 deletions

View File

@@ -17,6 +17,14 @@ alias ....="cd ../../.."
# cd to git root directory
alias cdgr='cd "$(git root)"'
# interesting folders, and shortcuts
alias .="cd $HOME"
alias .b="cd $XDG_BIN_HOME"
alias .c="cd $HOME/Code"
alias .d="cd $DOTFILES"
alias .dx="cd $DOTFILES;ks"
alias .l="cd $HOME/.local"
# Shortcuts for listing
alias ll="ls -la"
alias l="ls -a"
@@ -24,6 +32,7 @@ alias l="ls -a"
# Prevent common typos
alias cd..="cd .."
alias sl="ls"
alias ls-="ls -$1"
# List only directories
alias lsd="ls -lF | grep '^d'"

View File

@@ -2,7 +2,6 @@
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

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
lazygit 0.43.1
neovim system
nodejs 22.4.1
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 0.33.3
terraform-lsp 0.0.12
terragrunt 0.62.0
tf-summarize 0.3.10
vault 1.17.0+ent
vault 1.17.2+ent
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

@@ -34,42 +34,42 @@ 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