All Projects → PeterDaveHello → Colorechoforshell

PeterDaveHello / Colorechoforshell

Licence: gpl-2.0
Make 🐚(shell) 's 💬 (`echo`) to be 🌈 easily ✨ Support ✅ sh ➕ bash ➕ zsh ➕ ksh ➕ 🐟

Programming Languages

shell
77523 projects
bash
514 projects
script
160 projects
shellscript
22 projects

Projects that are alternatives of or similar to Colorechoforshell

Powerline Shell
A beautiful and useful prompt for your shell
Stars: ✭ 5,743 (+7557.33%)
Mutual labels:  zsh, fish
Oh My Posh
A prompt theme engine for any shell.
Stars: ✭ 841 (+1021.33%)
Mutual labels:  zsh, hacktoberfest
Awesome Dotfiles
A curated list of dotfiles resources.
Stars: ✭ 6,295 (+8293.33%)
Mutual labels:  zsh, fish
Imgcat
It's like cat, but for images.
Stars: ✭ 577 (+669.33%)
Mutual labels:  hacktoberfest, color
Nord Konsole
An arctic, north-bluish clean and elegant Konsole color scheme.
Stars: ✭ 56 (-25.33%)
Mutual labels:  zsh, color
Modernish
Modernish is a library for writing robust, portable, readable, and powerful programs for POSIX-based shells and utilities.
Stars: ✭ 586 (+681.33%)
Mutual labels:  sh, zsh
Zsh History To Fish
Bring your ZSH history to Fish shell.
Stars: ✭ 23 (-69.33%)
Mutual labels:  zsh, fish
Zsh Quickstart Kit
Simple ZSH quickstart for using ZSH and zgen
Stars: ✭ 366 (+388%)
Mutual labels:  zsh, hacktoberfest
Shc
Shell script compiler
Stars: ✭ 1,050 (+1300%)
Mutual labels:  sh, zsh
Jump
Jump helps you navigate faster by learning your habits. ✌️
Stars: ✭ 1,024 (+1265.33%)
Mutual labels:  zsh, fish
Bash Shortcuts Cheat Sheet
Useful shortcuts for bash/zsh
Stars: ✭ 452 (+502.67%)
Mutual labels:  zsh, fish
Nekobin
Elegant and open-source pastebin service
Stars: ✭ 61 (-18.67%)
Mutual labels:  echo, hacktoberfest
Awesome Shell
A curated list of awesome command-line frameworks, toolkits, guides and gizmos. Inspired by awesome-php.
Stars: ✭ 22,631 (+30074.67%)
Mutual labels:  zsh, fish
Autocomplete
Autocomplete for terminals on MacOS
Stars: ✭ 569 (+658.67%)
Mutual labels:  zsh, fish
Termux Style
Simple script to change color-schemes and fonts for Termux.
Stars: ✭ 400 (+433.33%)
Mutual labels:  zsh, fish
Pure
Pretty, minimal, and fast prompt for Fish from Zsh.
Stars: ✭ 740 (+886.67%)
Mutual labels:  zsh, fish
Zsh Autosuggestions
Fish-like autosuggestions for zsh
Stars: ✭ 19,697 (+26162.67%)
Mutual labels:  zsh, fish
Dtags
Directory Tags for Lazy Programmers
Stars: ✭ 351 (+368%)
Mutual labels:  zsh, fish
Nord Guake
An arctic, north-bluish clean and elegant Guake color theme.
Stars: ✭ 20 (-73.33%)
Mutual labels:  zsh, color
Dotfiles
🏠
Stars: ✭ 60 (-20%)
Mutual labels:  zsh, fish

ColorEchoForShell

Build Status License badge

Make echo colorful with easier method. In bash, sh, fish, ksh and zsh. Which can help you print debug, warning, error message in shell scripts with meaningful colors, and make the output more readable.

Please note that certain colors will really depend on the environment, my demo is under a terminal called Terminator, you can simply install it via apt, yum, pkg or other package manager. Actually, all the colors display depend on the environment setting, but I just name/define name by the most common cases I know by far.

MENU

Installation

  • Download the script, choice the one for your shell by its extension in the filename.
  • Add a line to include the script in your shell rc or run it directly:

. ./ColorEcho.bash

Usage

  • echo.StyleColor (if you are using ksh/sh, there is no . dot symbol)

Examples

  • echo.Cyan
  • echo.ULCyan
  • echo.LightCyan
  • echo.BoldCyan
  • echo.BoldULCyan

Supported shells

Supported styles

  • Bold as Bold
  • Light as Light
  • Underline as UL

Supported colors

Notes

  • If you have lolcat, you can also try echo.Rainbow.

Screenshot

Screenshot

Demo

Demo

License

GPL-2.0 (GNU GENERAL PUBLIC LICENSE Version 2)

Author

Peter Dave Hello, @Twitter, @GitHub

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].