mirror of
https://github.com/Steffo99/config-fish.git
synced 2024-12-22 23:04:22 +00:00
21 lines
347 B
Fish
21 lines
347 B
Fish
function log-f
|
|
if [ $DOTFISH_LOG_LEVEL -lt 0 ]
|
|
return
|
|
end
|
|
|
|
set_color --background red
|
|
set_color brwhite
|
|
echo -n -- "$argv[1] "
|
|
set_color reset
|
|
|
|
set_color --background brred
|
|
set_color --bold brwhite
|
|
echo -n -- "$argv[2]"
|
|
set_color reset
|
|
|
|
set_color --background red
|
|
set_color brwhite
|
|
echo -n -- " $argv[3]"
|
|
echo
|
|
set_color reset
|
|
end
|