updated the oh-my-posh install script
This commit is contained in:
parent
01b4312f56
commit
56423251cb
1 changed files with 7 additions and 0 deletions
7
dot_local/bin/installOhMyPosh.sh
Executable file
7
dot_local/bin/installOhMyPosh.sh
Executable 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
|
Loading…
Add table
Reference in a new issue