updated the oh-my-posh install script

This commit is contained in:
eeleater 2023-12-19 23:59:27 +01:00
parent 01b4312f56
commit 56423251cb

View file

@ -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