diff --git a/LICENSE b/LICENSE index 24e7f2b..6be28b6 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,7 @@ MIT License Copyright (c) 2023 Roman Ožana (https://ozana.cz/) +Copyright (c) 2024 Alexander Popov (https://iiiypuk.me/) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -18,4 +19,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file +SOFTWARE. diff --git a/README.md b/README.md index 23a1f40..75697f1 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ Write colored text to the terminal easily. +_Forker from https://github.com/OzzyCzech/colors.sh_ + ![Color palette](colors.png) ## Installation @@ -9,7 +11,7 @@ Write colored text to the terminal easily. Download `colors.sh` and source it in your script or copy/paste the functions and variables into your script. ```shell -curl -O https://raw.githubusercontent.com/OzzyCzech/colors.sh/master/colors.sh +wget https://git.a2s.su/iiiypuk/colors.sh/raw/branch/main/colors.sh ``` ## Usage diff --git a/colors.sh b/colors.sh index 69f4a34..3ba951f 100644 --- a/colors.sh +++ b/colors.sh @@ -1,9 +1,15 @@ #!/usr/bin/env bash # This script is used to define colors for bash scripts -# GitHub: https://github.com/OzzyCzech/colors.sh -# Author: Roman Ožana +# Git: https://git.a2s.su/iiiypuk/colors.sh +# Author: Alexander Popov # License: MIT +# Update: 28 Mar 2024 + +# Usage: +# +# source colors.sh +# echo -e "This is ${RED}red text${NC}" # Black and white export BLACK='\033[0;30m'