starship: add custom Harelang module

shows currently installed version of Hare

check out https://harelang.org/
This commit is contained in:
surtur 2022-05-01 00:50:53 +02:00
parent a1df54ad25
commit c402799c08
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -172,3 +172,14 @@ format = "[$symbol]($style) "
[zig]
disabled = false
format = "[$symbol]($style)"
[custom.hare]
disabled = false
# check out https://harelang.org/
description = "The currently installed version of Harelang"
detect_extensions = ["ha"]
# since there is no hare emoji so far, the one for rabbit is used
symbol = "🐰 "
command = "hare version | cut -f 2 -d ' '"
style = "dimmed bold bright-black"
format = "$symbol[($output)]($style) "