oink/README.md

51 lines
1.3 KiB
Markdown

# Oink
[Cowsay](https://github.com/piuccio/cowsay), except it's 🐗 [Fooboar](https://wiki.wiai.de/index.php/Fooboar) talking. You want to teach him new skills? Pull requests welcome!
```console
fooboar@forest:~$ oink Ich bin ein WIldschwAIn!
__________________________
< Ich bin ein WIldschwAIn! >
--------------------------
| Λ––Λ
| /_ _\
\_ ( U U )
\' '/
\¯¯/
< 🐽 >
fooboar@forest:~$
```
## 🌲 Usage (Ubuntu)
This script requires [Cowsay](https://github.com/piuccio/cowsay). Download and install it first. Then you are ready to download the newest [oink release](https://git.wiai.de/fknoch/oink/releases). Run the following line to make the script executable:
```sh
$ chmod +x "/path/to/oink.sh"
```
Add these lines at the end of your `~\.bashrc`.
```bash
# Fooboar
alias oink="/path/to/oink.sh"
```
To persist your changes, run:
```bash
$ . ~/.bashrc
```
Now Fooboar can talk to you.
```bash
$ oink Heyho!
```
## 🍄 Contributors
Truffels go to:
* [Christian](https://wiki.wiai.de/index.php/Benutzer:Ckremitzl), who provided the wonderful Unicode representation of Fooboar
* [Fabian](https://wiki.wiai.de/index.php/Benutzer:Flamprecht), who suggested to use a `.cow` file (which has been rejected after some discussion)