diff --git a/dot_local/bin/executable_installOhMyPosh b/dot_local/bin/executable_installOhMyPosh index 42548c8..cb76c09 100755 --- a/dot_local/bin/executable_installOhMyPosh +++ b/dot_local/bin/executable_installOhMyPosh @@ -1,9 +1,5 @@ #!/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 -} +curl -so "$tmpFile" https://ohmyposh.dev/install.sh +bash "$tmpFile" -d "$HOME"/.local/bin