updated antidote config to newest

This commit is contained in:
Nikolas Weger 2024-01-25 09:51:34 +01:00
parent 1f9d47b42c
commit cdc7df962b
7 changed files with 13 additions and 22 deletions

View file

@ -0,0 +1,5 @@
#!/bin/bash
tmpFile="$(mktemp -u)"
curl -so "$tmpFile" https://ohmyposh.dev/install.sh
bash "$tmpFile" -d "$HOME"/.local/bin

View file

@ -1,9 +0,0 @@
#!/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)"
test "$newestVersion" != "$localVersion" && {
curl -so "$tmpFile" https://ohmyposh.dev/install.sh
bash "$tmpFile" -d "$HOME"/.local/bin
}