starship: add custom Harelang module
shows currently installed version of Hare check out https://harelang.org/
This commit is contained in:
parent
a1df54ad25
commit
c402799c08
@ -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) "
|
||||
|
Loading…
Reference in New Issue
Block a user