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

19 lines
252 B
Fish
Raw Normal View History

2024-08-21 09:45:18 +00:00
function log-e
if [ $DOTFISH_LOG_LEVEL -lt 10 ]
return
end
set_color red
echo -n -- "$argv[1] "
2024-09-02 23:29:03 +00:00
set_color reset
2024-08-21 09:45:18 +00:00
set_color --bold brred
echo -n -- "$argv[2]"
2024-09-02 23:29:03 +00:00
set_color reset
2024-08-21 09:45:18 +00:00
set_color red
echo -n -- " $argv[3]"
echo
2024-09-02 23:29:03 +00:00
set_color reset
2024-08-21 09:45:18 +00:00
end