Skip to content

Commit 454e21e

Browse files
v0.0.6, regenerate dist files
1 parent b7bf7e1 commit 454e21e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

β€Ždist/ColorEcho.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ function echo.LightBoldULBrown
481481
}
482482
function echo.Rainbow
483483
{
484-
if [ "type lolcat" ]; then
484+
if type lolcat > /dev/null 2>&1; then
485485
echo "$@" | lolcat
486486
else
487487
echo "$@"

β€Ždist/ColorEcho.ksh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ function echoLightBoldULBrown
481481
}
482482
function echoRainbow
483483
{
484-
if [ "type lolcat" ]; then
484+
if type lolcat 2> /dev/null >&2; then
485485
echo "$@" | lolcat
486486
else
487487
echo "$@"

β€Ždist/ColorEcho.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ echoLightBoldULBrown()
481481
}
482482
echoRainbow()
483483
{
484-
if [ "type lolcat" ]; then
484+
if type lolcat > /dev/null 2>&1; then
485485
echo "$@" | lolcat
486486
else
487487
echo "$@"

β€Ždist/ColorEcho.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ function echo.LightBoldULBrown
481481
}
482482
function echo.Rainbow
483483
{
484-
if [ "type lolcat" ]; then
484+
if type lolcat > /dev/null 2>&1; then
485485
echo "$@" | lolcat
486486
else
487487
echo "$@"

0 commit comments

Comments
Β (0)