mirror of
https://github.com/Steffo99/config-fish.git
synced 2024-12-22 23:04:22 +00:00
22 lines
349 B
Fish
22 lines
349 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 normal
|
||
|
|
||
|
set_color --background brred
|
||
|
set_color --bold brwhite
|
||
|
echo -n -- "$argv[2]"
|
||
|
set_color normal
|
||
|
|
||
|
set_color --background red
|
||
|
set_color brwhite
|
||
|
echo -n -- " $argv[3]"
|
||
|
echo
|
||
|
set_color reset
|
||
|
end
|