newest version of dotfiles

This commit is contained in:
Nikolas Weger 2023-12-20 11:46:01 +01:00
parent 56423251cb
commit 1aec940d37
3 changed files with 0 additions and 7 deletions

View file

@ -1,7 +0,0 @@
#!/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