added support for #{uptime_y} variable

This commit is contained in:
Gregory Pakosz
2019-06-22 21:48:03 +02:00
parent d2df5cf4d4
commit e0a45082eb
3 changed files with 15 additions and 4 deletions
+2 -1
View File
@@ -251,7 +251,8 @@ This configuration supports the following builtin variables:
- `#{prefix}`: is prefix being depressed?
- `#{root}`: is current user root?
- `#{synchronized}`: are the panes synchronized?
- `#{uptime_d}`: uptime days
- `#{uptime_y}`: uptime years
- `#{uptime_d}`: uptime days, modulo 365 when `#{uptime_y}` is used
- `#{uptime_h}`: uptime hours
- `#{uptime_m}`: uptime minutes
- `#{uptime_s}`: uptime seconds