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" && {