From ccbe7c817bf36cf0ccc8d8100f517e8046f95b35 Mon Sep 17 00:00:00 2001 From: Shigeto Kumagai Date: Tue, 12 Aug 2025 00:07:17 +0900 Subject: [PATCH] Omarchy-version command (#565) * omarchy-version alias * instead of alias, created command omarchy-version * remove previously added alias, use omarchy-version command, instead * set OMARCHY_PATH in the script * updated OMARCHY_PATH --- bin/omarchy-version | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 bin/omarchy-version diff --git a/bin/omarchy-version b/bin/omarchy-version new file mode 100755 index 00000000..2292694a --- /dev/null +++ b/bin/omarchy-version @@ -0,0 +1,6 @@ +#!/bin/bash + +# set OMARCHY_PATH in case this is called by non bash environment +OMARCHY_PATH="/home/$USER/.local/share/omarchy" + +git -C "$OMARCHY_PATH" describe --tags $(git -C "$OMARCHY_PATH" rev-list --tags --max-count=1)