dd3895ccbd
Multi-line description of commit, feel free to be detailed. [Ticket: X] ~ ~ ".git/COMMIT_EDITMSG" 14L, 297C
7 lines
296 B
Fish
7 lines
296 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 $pure_system_time_format)
|
|
end
|
|
end
|