mirror of
https://github.com/vale981/spectrwm
synced 2025-03-05 18:01:37 -05:00
7 lines
154 B
Bash
7 lines
154 B
Bash
#!/bin/sh
|
|
|
|
CURDIR=$(dirname $0)
|
|
if [ -d "$CURDIR/.git" ]; then
|
|
cd "$CURDIR"
|
|
echo $(git describe --abbrev=0 --tags)-$(git rev-parse HEAD | tail -c 9)
|
|
fi
|