From 2eb1adeed6ee7f55a886c4bdefc62f70f69b094f Mon Sep 17 00:00:00 2001 From: Nikolas Weger Date: Wed, 23 Oct 2024 12:15:24 +0200 Subject: [PATCH 1/2] fixed zellij layout script --- dot_local/bin/executable_zellijCreateLayout | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot_local/bin/executable_zellijCreateLayout b/dot_local/bin/executable_zellijCreateLayout index c5f252a..c867981 100644 --- a/dot_local/bin/executable_zellijCreateLayout +++ b/dot_local/bin/executable_zellijCreateLayout @@ -3,6 +3,6 @@ set -euo pipefail ZJ_LAYOUT_DIR=$(zellij setup --check | grep "LAYOUT DIR" - | grep -o '".*"' - | tr -d '"') if [[ -d "${ZJ_LAYOUT_DIR}" ]]; then - ZJ_LAYOUT="$(fd --type file . "${ZJ_LAYOUT_DIR}" | sed 's|.*/||' | fzf || exit)" + ZJ_LAYOUT="$ZJ_LAYOUT_DIR/$(fd --type file . "${ZJ_LAYOUT_DIR}" | sed 's|.*/||' | fzf || exit)" zellij --layout "${ZJ_LAYOUT}" fi From 01a037cdcccf7049b13f6b39decc34020018aa72 Mon Sep 17 00:00:00 2001 From: Nikolas Weger Date: Wed, 6 Nov 2024 11:51:59 +0100 Subject: [PATCH 2/2] updated oh-my-posh script because --version is no longer valid --- dot_local/bin/executable_updateOhMyPosh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot_local/bin/executable_updateOhMyPosh b/dot_local/bin/executable_updateOhMyPosh index 8af14c4..ed0ca60 100644 --- a/dot_local/bin/executable_updateOhMyPosh +++ b/dot_local/bin/executable_updateOhMyPosh @@ -1,6 +1,6 @@ #!/bin/bash newestVersion="$(curl -sL https://api.github.com/repos/JanDeDobbeleer/oh-my-posh/releases/latest | jq -r '.name')" -localVersion="v$(oh-my-posh --version)" +localVersion="v$(oh-my-posh version)" tmpFile="$(mktemp -u)" test "$newestVersion" != "$localVersion" && {