config-fish/functions/__fishline_version.fish
2022-04-22 16:15:09 +02:00

12 lines
234 B
Fish

#!/usr/bin/env fish
# -*- mode:fish; tab-width:4 -*-
function __fishline_version
pushd $FLINE_PATH > /dev/null
set -l fline_version (git describe --tag)
popd > /dev/null
printf "fishline %s\n" $fline_version
end