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
This commit is contained in:
parent
1dc3330480
commit
ccbe7c817b
6
bin/omarchy-version
Executable file
6
bin/omarchy-version
Executable file
@ -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)
|
Loading…
x
Reference in New Issue
Block a user