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-f.fish

22 lines
362 B
Fish
Raw Normal View History

2024-08-21 09:45:18 +00:00
function log-f
if [ $DOTFISH_LOG_LEVEL -lt 0 ]
return
end
set_color --background red
set_color brwhite
2024-11-27 12:47:30 +00:00
echo -n -- "$argv[1] " 1>&2
2024-09-02 23:29:03 +00:00
set_color reset
2024-08-21 09:45:18 +00:00
set_color --background brred
set_color --bold brwhite
2024-11-27 12:47:30 +00:00
echo -n -- "$argv[2]" 1>&2
2024-09-02 23:29:03 +00:00
set_color reset
2024-08-21 09:45:18 +00:00
set_color --background red
set_color brwhite
2024-11-27 12:47:30 +00:00
echo -n -- " $argv[3]" 1>&2
2024-08-21 09:45:18 +00:00
echo
set_color reset
end