mirror of
https://github.com/Steffo99/config-fish.git
synced 2024-12-22 06:44:22 +00:00
Log to stderr
This commit is contained in:
parent
dc1c532cc4
commit
2b9ac80390
6 changed files with 18 additions and 18 deletions
|
@ -4,15 +4,15 @@ function log-e
|
|||
end
|
||||
|
||||
set_color red
|
||||
echo -n -- "$argv[1] "
|
||||
echo -n -- "$argv[1] " 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color --bold brred
|
||||
echo -n -- "$argv[2]"
|
||||
echo -n -- "$argv[2]" 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color red
|
||||
echo -n -- " $argv[3]"
|
||||
echo -n -- " $argv[3]" 1>&2
|
||||
echo
|
||||
set_color reset
|
||||
end
|
||||
|
|
|
@ -5,17 +5,17 @@ function log-f
|
|||
|
||||
set_color --background red
|
||||
set_color brwhite
|
||||
echo -n -- "$argv[1] "
|
||||
echo -n -- "$argv[1] " 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color --background brred
|
||||
set_color --bold brwhite
|
||||
echo -n -- "$argv[2]"
|
||||
echo -n -- "$argv[2]" 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color --background red
|
||||
set_color brwhite
|
||||
echo -n -- " $argv[3]"
|
||||
echo -n -- " $argv[3]" 1>&2
|
||||
echo
|
||||
set_color reset
|
||||
end
|
||||
|
|
|
@ -4,15 +4,15 @@ function log-i
|
|||
end
|
||||
|
||||
set_color cyan
|
||||
echo -n -- "$argv[1] "
|
||||
echo -n -- "$argv[1] " 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color --bold brcyan
|
||||
echo -n -- "$argv[2]"
|
||||
echo -n -- "$argv[2]" 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color cyan
|
||||
echo -n -- " $argv[3]"
|
||||
echo -n -- " $argv[3]" 1>&2
|
||||
echo
|
||||
set_color reset
|
||||
end
|
||||
|
|
|
@ -4,15 +4,15 @@ function log-s
|
|||
end
|
||||
|
||||
set_color green
|
||||
echo -n -- "$argv[1] "
|
||||
echo -n -- "$argv[1] " 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color --bold brgreen
|
||||
echo -n -- "$argv[2]"
|
||||
echo -n -- "$argv[2]" 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color green
|
||||
echo -n -- " $argv[3]"
|
||||
echo -n -- " $argv[3]" 1>&2
|
||||
echo
|
||||
set_color reset
|
||||
end
|
||||
|
|
|
@ -4,15 +4,15 @@ function log-t
|
|||
end
|
||||
|
||||
set_color purple
|
||||
echo -n -- "$argv[1] "
|
||||
echo -n -- "$argv[1] " 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color --bold brpurple
|
||||
echo -n -- "$argv[2]"
|
||||
echo -n -- "$argv[2]" 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color purple
|
||||
echo -n -- " $argv[3]"
|
||||
echo -n -- " $argv[3]" 1>&2
|
||||
echo
|
||||
set_color reset
|
||||
end
|
||||
|
|
|
@ -4,15 +4,15 @@ function log-w
|
|||
end
|
||||
|
||||
set_color yellow
|
||||
echo -n -- "$argv[1] "
|
||||
echo -n -- "$argv[1] " 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color --bold bryellow
|
||||
echo -n -- "$argv[2]"
|
||||
echo -n -- "$argv[2]" 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color yellow
|
||||
echo -n -- " $argv[3]"
|
||||
echo -n -- " $argv[3]" 1>&2
|
||||
echo
|
||||
set_color reset
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue