zigdon / twirssi

An irssi script allowing the use of Twitter from within the IRC client.
http://twirssi.com
133 stars 26 forks source link

Please, use Irssi::get_irssi_dir #3

Closed mshuler closed 14 years ago

mshuler commented 14 years ago

First, thanks for a kickass twitter client :)

Please, replace default hardcoded paths of $ENV{HOME}/.irssi/... with a call to Irssi::get_irssi_dir - There are 3 locations:

"$ENV{HOME}/.irssi/scripts/twirssi.pl" );
"$ENV{HOME}/.irssi/scripts/twirssi.json" );
"$ENV{HOME}/.irssi/scripts/twirssi.oauth" );

I use a separate irssi config just for twirssi in ~/.twirssi/ and call it with 'irssi --home=~/.twirssi' - this requires the need to set additional configs for twirssi_location, twirssi_replies_store, twirssi_oauth_store, since the irssi home dir is not groked automagically.

Thanks! Michael

zigdon commented 14 years ago

This has been done a while back, thanks for the pointer!