omarchy/bin/omarchy-version
Shigeto Kumagai ccbe7c817b
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
2025-08-11 17:07:17 +02:00

7 lines
223 B
Bash
Executable File

#!/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)