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

19 lines
276 B
Fish
Raw Normal View History

2024-08-21 09:45:18 +00:00
function log-t
if [ $DOTFISH_LOG_LEVEL -lt 60 ]
return
end
set_color purple
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 --bold brpurple
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 purple
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