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