mirror of
https://github.com/Steffo99/config-fish.git
synced 2024-12-22 14:54:23 +00:00
18 lines
267 B
Fish
18 lines
267 B
Fish
function log-e
|
|
if [ $DOTFISH_LOG_LEVEL -lt 10 ]
|
|
return
|
|
end
|
|
|
|
set_color red
|
|
echo -n -- "$argv[1] " 1>&2
|
|
set_color reset
|
|
|
|
set_color --bold brred
|
|
echo -n -- "$argv[2]" 1>&2
|
|
set_color reset
|
|
|
|
set_color red
|
|
echo -n -- " $argv[3]" 1>&2
|
|
echo
|
|
set_color reset
|
|
end
|