1
Fork 0
mirror of https://github.com/Steffo99/config-fish.git synced 2024-12-22 14:54:23 +00:00
config-fish/functions/log-e.fish
2024-08-21 11:45:18 +02:00

18 lines
255 B
Fish

function log-e
if [ $DOTFISH_LOG_LEVEL -lt 10 ]
return
end
set_color red
echo -n -- "$argv[1] "
set_color normal
set_color --bold brred
echo -n -- "$argv[2]"
set_color normal
set_color red
echo -n -- " $argv[3]"
echo
set_color normal
end