diff --git a/.config/yadm/bootstrap.d/install-helix b/.config/yadm/bootstrap.d/install-helix index 93f29a4..cd52acc 100755 --- a/.config/yadm/bootstrap.d/install-helix +++ b/.config/yadm/bootstrap.d/install-helix @@ -11,7 +11,7 @@ INSTALL_DIR="${APPS_DIR}/helix" INSTALLED_VERSION="" if [[ -x "$(command -v hx)" ]] ; then - INSTALLED_VERSION="$(hx --version | grep -o '[0-9]\+\.[0-9]\+')" + INSTALLED_VERSION="$(hx --version | grep -o '[0-9]\+\.[0-9.]\+')" fi if [[ "$VERSION" == "$INSTALLED_VERSION" ]] ; then @@ -45,8 +45,8 @@ ln -s --force "${INSTALL_DIR}/hx" "${HOME}/.local/bin/" echo "Removing ${TARGET}..." rm -f "${TARGET}" -echo "Fetching new grammars" +echo "Fetching new grammars..." hx --grammar fetch -echo "Building new grammers" +echo "Building new grammers..." hx --grammar build