Skip to content

Instantly share code, notes, and snippets.

@bedilbek
Created July 20, 2023 08:56
Show Gist options
  • Select an option

  • Save bedilbek/41047e67e63767a82aae0968eba6913c to your computer and use it in GitHub Desktop.

Select an option

Save bedilbek/41047e67e63767a82aae0968eba6913c to your computer and use it in GitHub Desktop.
colorize script
#!/usr/bin/zsh
RED=$(echo -e "\e[31m")
RESET=$(echo -e "\e[39m")
while read line; do
echo "$RED$line$RESET"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment