
* 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
7 lines
223 B
Bash
Executable File
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)
|