Added Fish example

This commit is contained in:
2025-04-24 05:34:05 +03:00
parent 9efc4b0ec4
commit b4c1b5e3ee
+7 -6
View File
@@ -1,12 +1,12 @@
# colors.sh
# 🎨 colors.sh
Write colored text to the terminal easily.
_Forker from https://github.com/OzzyCzech/colors.sh_
🍴 _Forker from https://github.com/OzzyCzech/colors.sh_
![Color palette](colors.png)
## Installation
## 💾 Installation
Download `colors.sh` and source it in your script or copy/paste the functions and variables into your script.
@@ -14,15 +14,16 @@ Download `colors.sh` and source it in your script or copy/paste the functions an
wget https://git.a2s.su/iiiypuk/colors.sh/raw/branch/main/colors.sh
```
## Usage
## 🪏 Usage
```shell
source colors.sh
# with colors.sh sourced, you can use the constants
echo -e "This is ${RED}red text${NC}"
echo -e "This is ${RED}red text${NC}" # Bash
echo -e "This is $RED\b red text$NC" # Fish
```
## License
## 📄 License
[MIT License](LICENSE)