1
Fork 0
mirror of https://github.com/Steffo99/config-fish.git synced 2024-12-22 14:54:23 +00:00
config-fish/functions/log-w.fish
2024-08-21 11:45:18 +02:00

18 lines
263 B
Fish

function log-w
if [ $DOTFISH_LOG_LEVEL -lt 20 ]
return
end
set_color yellow
echo -n -- "$argv[1] "
set_color normal
set_color --bold bryellow
echo -n -- "$argv[2]"
set_color normal
set_color yellow
echo -n -- " $argv[3]"
echo
set_color reset
end