Add stl as shell prompt plugin

This commit is contained in:
2021-04-22 19:17:46 +02:00
parent ca49ea58a3
commit d601f800c1

View File

@ -12,3 +12,10 @@ format = "[$user]($style)@"
ssh_only = false
format = "[$hostname]($style) in "
[custom.stl]
description = "time logger"
when = "stl stat -f /home/hulthe/.stld" # touch the file, but don't create it
command = "cat /home/hulthe/.stld"
symbol = "🕑"
style = "italic bright-purple"
format = "[$symbol ($output )]($style)"