Presenting beech - Oak’s little cousin.
INTRO
Inspired by Oak, an iPhone app by 10to1 that quickly sends out a tweet without being bothered by reading other tweets and losing time. I wanted a similar thing on my mac so I “made” beech.
(+ I use two different user accounts at work and wanted to be able to tweet from both but only read from one)
Installing beech
Add the following to your .bash_profile :
function beech(){
/usr/bin/curl -u your_user_name:your_password -d status="$1" http://twitter.com/statuses/update.xml &>/dev/null
}
(that should be three lines of text)
Note: to quickly reload your .bash_profile you can do a)
pietjaspers$ source .bash_profile
Using beech
Now you can tweet via the terminal by doing:
pietjaspers$ beech "This is a tweet via 'beech'"
Update : Added .bash_profile reload trick