updated oh-my-posh script because --version is no longer valid
This commit is contained in:
parent
2eb1adeed6
commit
01a037cdcc
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
newestVersion="$(curl -sL https://api.github.com/repos/JanDeDobbeleer/oh-my-posh/releases/latest | jq -r '.name')"
|
newestVersion="$(curl -sL https://api.github.com/repos/JanDeDobbeleer/oh-my-posh/releases/latest | jq -r '.name')"
|
||||||
localVersion="v$(oh-my-posh --version)"
|
localVersion="v$(oh-my-posh version)"
|
||||||
tmpFile="$(mktemp -u)"
|
tmpFile="$(mktemp -u)"
|
||||||
|
|
||||||
test "$newestVersion" != "$localVersion" && {
|
test "$newestVersion" != "$localVersion" && {
|
||||||
|
|
Loading…
Add table
Reference in a new issue