updated antidote config to newest
This commit is contained in:
parent
1f9d47b42c
commit
cdc7df962b
7 changed files with 13 additions and 22 deletions
5
dot_local/bin/executable_installOhMyPosh
Executable file
5
dot_local/bin/executable_installOhMyPosh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
tmpFile="$(mktemp -u)"
|
||||
|
||||
curl -so "$tmpFile" https://ohmyposh.dev/install.sh
|
||||
bash "$tmpFile" -d "$HOME"/.local/bin
|
|
@ -1,9 +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)"
|
||||
|
||||
test "$newestVersion" != "$localVersion" && {
|
||||
curl -so "$tmpFile" https://ohmyposh.dev/install.sh
|
||||
bash "$tmpFile" -d "$HOME"/.local/bin
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue