mirror of
https://github.com/eRgo35/dots.git
synced 2025-12-16 15:36:11 +01:00
7 lines
277 B
Fish
7 lines
277 B
Fish
function _pure_prompt_system_time --description "Display system time"
|
|
if set --query pure_show_system_time; and test "$pure_show_system_time" = true
|
|
set --local time_color (_pure_set_color $pure_color_system_time)
|
|
echo "$time_color"(date '+%T')
|
|
end
|
|
end
|