mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
Added --home and --config command line parameters to irssi to specify
locations for ~/.irssi and ~/.irssi/config git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1626 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
bcbb55dd1e
commit
79d1d7089a
19 changed files with 129 additions and 276 deletions
|
|
@ -32,7 +32,7 @@ static void sig_autorun(void)
|
|||
int f, ret, recvlen;
|
||||
|
||||
/* open ~/.irssi/startup and run all commands in it */
|
||||
path = g_strdup_printf("%s/.irssi/startup", g_get_home_dir());
|
||||
path = g_strdup_printf("%s/startup", get_irssi_dir());
|
||||
f = open(path, O_RDONLY);
|
||||
g_free(path);
|
||||
if (f == -1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue