updated antidote from sheldon

This commit is contained in:
eeleater 2024-08-14 00:45:09 +02:00
parent 0ed285bef9
commit 863808c00d
5 changed files with 11 additions and 12 deletions

View file

@ -1,6 +1,6 @@
#!/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)"
newestVersion="$(curl -sL https://api.github.com/repos/JanDeDobbeleer/oh-my-posh/releases/latest | jq -r '.name')"
localVersion="v$(oh-my-posh --version)"
tmpFile="$(mktemp -u)"
test "$newestVersion" != "$localVersion" && {