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