Skip to content
Open
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions dist/ColorEcho.bash
Original file line number Diff line number Diff line change
Expand Up @@ -2515,11 +2515,7 @@ function echo.LightSTBLBrown() {
echo -e "\\033[9;5;9;38;5;52m$*\\033[m"
}
function echo.Rainbow() {
if command -v lolcat > /dev/null 2>&1; then
echo "$*" | lolcat
else
echo "$*"
fi
if command -v lolcat > /dev/null 2>&1; then echo "$*" | lolcat; else echo "$*"; fi
}
function echo.Reset() {
echo "$*" | tr -d '[:cntrl:]' | sed -E "s/\\[((;)?[0-9]{1,3}){0,3}m//g" | xargs
Expand Down
6 changes: 1 addition & 5 deletions dist/ColorEcho.fish
Original file line number Diff line number Diff line change
Expand Up @@ -2515,11 +2515,7 @@ function echo.LightSTBLBrown
echo -e "\\033[9;5;9;38;5;52m$argv\\033[m"
end
function echo.Rainbow
if command -v lolcat > /dev/null
echo "$argv" | lolcat
else
echo "$argv"
end
if command -v lolcat > /dev/null; echo "$argv" | lolcat; else; echo "$argv"; end
end
function echo.Reset
echo "$argv" | tr -d '[:cntrl:]' | sed -E "s/\\[((;)?[0-9]{1,3}){0,3}m//g" | xargs
Expand Down
6 changes: 1 addition & 5 deletions dist/ColorEcho.ksh
Original file line number Diff line number Diff line change
Expand Up @@ -2515,11 +2515,7 @@ function echoLightSTBLBrown {
echo -e "\\033[9;5;9;38;5;52m$*\\033[m"
}
function echoRainbow {
if command -v lolcat 2> /dev/null >&2; then
echo "$*" | lolcat
else
echo "$*"
fi
if command -v lolcat 2> /dev/null >&2; then echo "$*" | lolcat; else echo "$*"; fi
}
function echoReset {
echo "$*" | tr -d '[:cntrl:]' | sed -E "s/\\[((;)?[0-9]{1,3}){0,3}m//g" | xargs
Expand Down
6 changes: 1 addition & 5 deletions dist/ColorEcho.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2522,11 +2522,7 @@ echoLightSTBLBrown() {
$ECHO "\\033[9;5;9;38;5;52m$*\\033[m"
}
echoRainbow() {
if command -v lolcat > /dev/null 2>&1; then
echo "$*" | lolcat
else
echo "$*"
fi
if command -v lolcat > /dev/null 2>&1; then echo "$*" | lolcat; else echo "$*"; fi
}
echoReset() {
echo "$*" | tr -d '[:cntrl:]' | sed -E "s/\\[((;)?[0-9]{1,3}){0,3}m//g" | xargs
Expand Down
Loading