1
Fork 0
mirror of https://github.com/Steffo99/config-fish.git synced 2024-12-22 23:04:22 +00:00
config-fish/functions/log-e.fish

19 lines
255 B
Fish
Raw Normal View History

2024-08-21 09:45:18 +00:00
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