updated antidote from sheldon
This commit is contained in:
parent
0ed285bef9
commit
863808c00d
5 changed files with 11 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/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)"
|
||||
newestVersion="$(curl -sL https://api.github.com/repos/JanDeDobbeleer/oh-my-posh/releases/latest | jq -r '.name')"
|
||||
localVersion="v$(oh-my-posh --version)"
|
||||
tmpFile="$(mktemp -u)"
|
||||
|
||||
test "$newestVersion" != "$localVersion" && {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue