From 01a037cdcccf7049b13f6b39decc34020018aa72 Mon Sep 17 00:00:00 2001 From: Nikolas Weger Date: Wed, 6 Nov 2024 11:51:59 +0100 Subject: [PATCH] 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" && {