From 56423251cbf28a18e4db6548594a7f823fd1be48 Mon Sep 17 00:00:00 2001 From: eeleater Date: Tue, 19 Dec 2023 23:59:27 +0100 Subject: [PATCH] updated the oh-my-posh install script --- dot_local/bin/installOhMyPosh.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 dot_local/bin/installOhMyPosh.sh diff --git a/dot_local/bin/installOhMyPosh.sh b/dot_local/bin/installOhMyPosh.sh new file mode 100755 index 0000000..a04ff0c --- /dev/null +++ b/dot_local/bin/installOhMyPosh.sh @@ -0,0 +1,7 @@ +#!/bin/bash +newestVersion="$(curl -sL https://api.github.com/repos/JanDeDobbeleer/oh-my-posh/releases/latest | jq -r '.name' | cut -dv -f2)" +localVersion="$(oh-my-posh --version)" +tmpFile="$(mktemp -u)" + +curl -so "$tmpFile" https://ohmyposh.dev/install.sh +bash "$tmpFile" -d "$HOME"/.local/bin