obs-localvocal/build-aux/.functions/log_status
2023-08-10 22:05:20 +03:00

8 lines
138 B
Plaintext

if (( ! ${+_loglevel} )) typeset -g _loglevel=1
if (( _loglevel > 0 )) {
local icon=' >'
print -PR "%F{2} ${(r:5:)icon}%f ${@}"
}