Compare commits

..

No commits in common. "01a037cdcccf7049b13f6b39decc34020018aa72" and "e7322f20a94e43954c520dbb15fb434750b7bf44" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View file

@ -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" && {

View file

@ -3,6 +3,6 @@ set -euo pipefail
ZJ_LAYOUT_DIR=$(zellij setup --check | grep "LAYOUT DIR" - | grep -o '".*"' - | tr -d '"')
if [[ -d "${ZJ_LAYOUT_DIR}" ]]; then
ZJ_LAYOUT="$ZJ_LAYOUT_DIR/$(fd --type file . "${ZJ_LAYOUT_DIR}" | sed 's|.*/||' | fzf || exit)"
ZJ_LAYOUT="$(fd --type file . "${ZJ_LAYOUT_DIR}" | sed 's|.*/||' | fzf || exit)"
zellij --layout "${ZJ_LAYOUT}"
fi