From 305182f69bd8cc820d0e97360d96c9d9781092b6 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Thu, 20 Jul 2023 01:57:12 +0200 Subject: [PATCH] update from avior --- .config/Code - OSS/User/settings.json | 15 +++++++-------- {.tmux => .config/tmux}/plugins/tpm | 0 .gitmodules | 6 +++--- .local/bin/ykfde-passphrase.sh | 13 +++++++++++++ .vim/pack/colors/opt/onedark.vim | 2 +- .zshrc.local.local##hostname.avior | 7 +++++++ 6 files changed, 31 insertions(+), 12 deletions(-) rename {.tmux => .config/tmux}/plugins/tpm (100%) create mode 100755 .local/bin/ykfde-passphrase.sh diff --git a/.config/Code - OSS/User/settings.json b/.config/Code - OSS/User/settings.json index 14b2b17..2d191d2 100644 --- a/.config/Code - OSS/User/settings.json +++ b/.config/Code - OSS/User/settings.json @@ -47,14 +47,13 @@ "[typescriptreact]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, - "[glsl]": { - "editor.defaultFormatter": "raczzalan.webgl-glsl-editor" - }, "cSpell.language": "en,de-DE", - - "latex-workshop.latex.recipe.default": "lastUsed", - "latex-workshop.view.pdf.viewer": "tab", - "latex-workshop.chktex.enabled": true, - "ltex.additionalRules.motherTongue": "de-DE" + "files.associations": { + "*.json5": "jsonc" + }, + "HuggingFaceCode.modelIdOrEndpoint": "https://alpha.starcoder.tngtech.com:8443/api/generate/", + "[javascriptreact]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, } diff --git a/.tmux/plugins/tpm b/.config/tmux/plugins/tpm similarity index 100% rename from .tmux/plugins/tpm rename to .config/tmux/plugins/tpm diff --git a/.gitmodules b/.gitmodules index 5642820..47f5b51 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,7 +1,7 @@ -[submodule ".tmux/plugins/tpm"] - path = .tmux/plugins/tpm +[submodule ".config/tmux/plugins/tpm"] + path = .config/tmux/plugins/tpm url = https://github.com/tmux-plugins/tpm -[submodule "backgrounds"] +[submodule ".local/share/backgrounds"] path = .local/share/backgrounds url = git@git.f3l.de:saluu/backgrounds.git [submodule ".vim/pack/colors/opt/onedark.vim"] diff --git a/.local/bin/ykfde-passphrase.sh b/.local/bin/ykfde-passphrase.sh new file mode 100755 index 0000000..92bd580 --- /dev/null +++ b/.local/bin/ykfde-passphrase.sh @@ -0,0 +1,13 @@ +#!/bin/sh +set -euo pipefail + +echo " > Please provide the challenge." +printf " Enter challenge: " +read -r -s YKFDE_CHALLENGE +[ "$YKFDE_CHALLENGE" ] && YKFDE_CHALLENGE="$(printf %s "$YKFDE_CHALLENGE" | sha256sum | awk '{print $1}')" +echo + +YKFDE_RESPONSE="$(printf %s "$YKFDE_CHALLENGE" | ykchalresp -2 -i- | tr -d '\n')" || true +YKFDE_PASSPHRASE="$YKFDE_CHALLENGE$YKFDE_RESPONSE" + +echo "$YKFDE_PASSPHRASE" diff --git a/.vim/pack/colors/opt/onedark.vim b/.vim/pack/colors/opt/onedark.vim index ff7b30e..f209c5b 160000 --- a/.vim/pack/colors/opt/onedark.vim +++ b/.vim/pack/colors/opt/onedark.vim @@ -1 +1 @@ -Subproject commit ff7b30ebd2faed7bf2de599ec9f340cffb29a4a4 +Subproject commit f209c5b6741e6cf847bf4a77e19f2fbf6ffc5290 diff --git a/.zshrc.local.local##hostname.avior b/.zshrc.local.local##hostname.avior index ead6bf6..4596ffc 100644 --- a/.zshrc.local.local##hostname.avior +++ b/.zshrc.local.local##hostname.avior @@ -9,3 +9,10 @@ alias ts='watson log -dcj | watson2timesheet' # SDKMAN! export SDKMAN_DIR="$HOME/.sdkman" [ -s "$SDKMAN_DIR/bin/sdkman-init.sh" ] && . "$SDKMAN_DIR/bin/sdkman-init.sh" + +# Terraform +complete -o nospace -C /home/loherj/.terraform.versions/terraform_1.3.6 terraform +export TF_PLUGIN_CACHE_DIR="$HOME/.terraform.d/plugin-cache" + +# Vault +export VAULT_ADDR=https://vault.srv.reu.bsh-lando.com