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
|
||||
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)"
|
||||
|
||||
test "$newestVersion" != "$localVersion" && {
|
||||
|
|
Loading…
Add table
Reference in a new issue