Update README.md

This commit is contained in:
Erkin Batu Altunbaş 2012-05-03 01:00:09 +03:00
parent 297bdd48c0
commit 0467a6ee22

View file

@ -3,30 +3,35 @@ ponysay - A cowsay wrapper with ponies.
The pony files are [desktop/browser ponies](http://web.student.tuwien.ac.at/~e0427417/browser-ponies/ponies.html) converted using [img2xterm](https://github.com/rossy2401/img2xterm). The pony files are [desktop/browser ponies](http://web.student.tuwien.ac.at/~e0427417/browser-ponies/ponies.html) converted using [img2xterm](https://github.com/rossy2401/img2xterm).
![Derp](http://i.imgur.com/xOJbE.png) ![Derp](http://i.imgur.com/xOJbE.png)
Today your terminal, tomorrow the world!
[](/derp "Today your terminal, tomorrow the world!")
Installation on Linux Installation on Linux
--------------------- ---------------------
If you do not already have cowsay you will need to install it If you do not already have `cowsay` you will need to install it
apt-get install cowsay apt-get install cowsay # assuming dpkg
[Download](https://github.com/erkin/ponysay/zipball/master) this project. In the terminal navagate to the ponysay folder and run [Download](https://github.com/erkin/ponysay/downloads) the latest project. In the terminal, `cd` into the ponysay directory and run
sudo make sudo make
This will install ponysay into the `/usr` directory to use ponysay run This will install ponysay into the $PREFIX (`/usr` by default). In order to use ponysay, run
ponysay "I am just the cutest pony" ponysay "I am just the cutest pony"
Or if you have a specific pony in your mind:
ponysay -f pinkie "Partay!~"
### Pony fortune on terminal startup ### Pony fortune on terminal startup
This requires that you have the `fortune` command installed This requires that you have the `fortune` utility installed
apt-get install fortune apt-get install fortune
You can try [this](http://www.reddit.com/r/mylittlelinux/comments/srixi/using_ponysay_with_a_ponified_fortune_warning/) script to ponify fortunes.
Edit your `~/.bashrc` and add this to the end of the file Edit your `~/.bashrc` and add this to the end of the file
fortune | ponysay fortune | ponysay
@ -45,4 +50,4 @@ __A:__ Ask and we'll add!
__Q:__ Which programs do you use to generate the pony files? __Q:__ Which programs do you use to generate the pony files?
__A:__ The pony files are actually [browser ponies](http://web.student.tuwien.ac.at/~e0427417/browser-ponies/ponies.html) that are generated into cow files via [img2xterm](https://github.com/rossy2401/img2xterm). __A:__ The pony files are actually a bunch of selected [browser ponies](http://web.student.tuwien.ac.at/~e0427417/browser-ponies/ponies.html) that are generated into cow files via [img2xterm](https://github.com/rossy2401/img2xterm).