Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9090dcd316 | |||
| 5d17736a9f | |||
| e7965a5240 | |||
| d8aa83f00e | |||
| 2361a0a983 | |||
| c2bde4a088 |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
dist/
|
||||||
30
README.md
30
README.md
@ -1,6 +1,6 @@
|
|||||||
# Oink
|
# Oink
|
||||||
|
|
||||||
[Cowsay](https://github.com/piuccio/cowsay), except it's Fooboar talking. You want to teach him new skills? Pull requests welcome!
|
[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
|
```console
|
||||||
fooboar@forest:~$ oink Ich bin ein WIldschwAIn!
|
fooboar@forest:~$ oink Ich bin ein WIldschwAIn!
|
||||||
@ -16,11 +16,35 @@ fooboar@forest:~$ oink Ich bin ein WIldschwAIn!
|
|||||||
fooboar@forest:~$
|
fooboar@forest:~$
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## 🌲 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
|
```sh
|
||||||
$ chmod +x "/path/to/oink.sh"
|
$ chmod +x "/path/to/oink.sh"
|
||||||
$ alias oink="/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!
|
$ 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)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user