How can I define settings, such as ircname, nick and such things, in .bashrc for Irssi?
|
feedback
|
migrated from stackoverflow.com Sep 27 '09 at 1:15
This question came from our site for professional and enthusiast programmers.
|
The settings for Irssi go in However, in general, any Bash environment variable is set in
The real question is how do you get Irssi to use those variables? | |||
feedback
|
|
While I can imagine setting alias like:
it doesn't make sense. Irssi is very configurable, and it has a proper config file, so why don't you use it? For example: Start irssi, issue /network add; /server add; /channel add commands - best if you'd set the server and channel to auto-connect and autojoin. Then, do /save, and quit irssi. And then restart irssi, and voila - it will autoconnect everywhere you configured it to. If you'll have any problems, just consult docs. | |||
|
feedback
|
|
A much better way would be to set all these settings to your /set nick Heoa And every time you start If you still want it -
Note that these environment variables are only set on the first run, and they are ignored if | |||||||||||
feedback
|