Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (9 sloc) 311 Bytes
#!/bin/bash
### Send tweets from command line.
### For installation instructions see:
### http://xmodulo.com/2013/12/access-twitter-command-line-linux.html
t='/usr/local/bin/t'
lng=sq
tweet=$(curl -k https://btranslator.org/tweet/$lng)
mention=$($t followings | sort -R | tail -1)
$t update "$tweet @$mention"