Add stl as shell prompt plugin
This commit is contained in:
@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user