ColorEchoForShell

Make 🐚(shell) 's 💬 (`echo`) to be 🎨 easily ✨ Support ✅ sh ➕ bash ➕ zsh ➕ ksh ➕ 🐟 One simple command for vibrant text output! 💫

GPL-2.0 License

Stars
112

Bot releases are hidden (Show)

ColorEchoForShell - Latest Release

Published by PeterDaveHello over 3 years ago

  • Update comment styling
  • Update Travis CI environment
  • Fix generate.sh prompt message
  • Remove "Light" as a style, but just a variant of color
  • Support more styles like italic, blink and strikethrough
  • Support to change the order of style in the echo function name
  • Refactor generate.sh for readability, maintainability and robustness
ColorEchoForShell -

Published by PeterDaveHello over 3 years ago

  • Fix typo
  • Add sh support
  • Improve README.md
  • Fix zsh script generation
  • Adjust space in function name
  • Rename gen.sh to generator.sh
  • Use variable to store color table path
  • Add echo.Rainbow, which relys on lolcat
  • Rename colorEcho.sh -> ColorEcho.sh
ColorEchoForShell -

Published by PeterDaveHello over 3 years ago

  • Fix typo
  • Improve robustness
  • Add some prompt message
  • Rename file table.txt -> color table.txt
  • Use color echo in the generator.sh script, dogfooding!
  • Add echo.Reset/echoReset to remove color on output
  • Generate zsh dist file independently, not just copy from bash
ColorEchoForShell -

Published by PeterDaveHello over 3 years ago

  • Fix indentation
  • Add ksh support
  • Add more colors:
    • purple
    • orange
    • pink
    • brown
    • black
    • white
  • Use "case" instead of "if" statement
ColorEchoForShell -

Published by PeterDaveHello over 3 years ago

  • Improve coding style
  • Escape backslash explicitly
  • Adjust license header newline
  • Introduce shfmt for more consistent styling
  • Update Travis CI Linux environment to Ubuntu Xenial
  • Replace non-standard which with built-in command -v
ColorEchoForShell -

Published by PeterDaveHello over 3 years ago

  • Improve coding style
  • Update tests for sh/bash/zsh
  • Fix macOS(Darwin) sh support
  • Fix echo.Reset missing newline char at eol
  • Set bash/zsh function brackets in declaration
  • Use ksh built-in echo to fix FreeBSD/macOS support
ColorEchoForShell -

Published by PeterDaveHello over 3 years ago

  • Add EditorConfig
  • Fix ShellCheck SC1117
  • Fix typo in README.md
  • Introduce Travis CI & TravisBuddy
  • Remove a inconsistent space for Reset & Rainbow
ColorEchoForShell -

Published by PeterDaveHello about 7 years ago

  • Improve generator.sh syntax with ShellCheck v0.4.6
  • Use \033 instead of \e for better compatible
  • Parallel build release
ColorEchoForShell -

Published by PeterDaveHello about 7 years ago

  • Update README.md, add notes about the colors
  • Use $() instead of deprecated `` for uname command
  • Update links in readme
  • Fix name of heredoc for echo reset function
ColorEchoForShell -

Published by PeterDaveHello about 8 years ago

  • Minor refactor
  • Add fish shell support
  • Use brackets var, bash should not has "(" and ")"
ColorEchoForShell -

Published by PeterDaveHello about 8 years ago

Initial release

ColorEchoForShell -

Published by PeterDaveHello about 8 years ago

  • Set case section "sh" much more clear in generater.sh
  • Fix sh script under FreeBSD, now dynamic determine echo method
ColorEchoForShell -

Published by PeterDaveHello about 8 years ago

  • Refactor generater.sh
  • Add license info in readme
  • Fix lolcat determination method
Badges
Extracted from project README
Build Status