On Sat, Apr 02, 2016 at 10:04:44PM +0200, Jérémie Roquet wrote: > Hello everyone, > > Everytime I start weechat, it overwrites its own configuration files > (~/.weechat/*.conf) and even re-generates the ones I've deleted there. > > Which means I'm unable to start with a minimal configuration > (customized settings only for the few I fully understand and want to > differ from the default; “sane default” settings of the last release > of weechat for everything else). > > Setting “weechat.look.save_config_on_exit” to “off” doesn't change > anything (which comes as expected, since the files are overwritten on > startup, not when exiting). > > The workaround I'm currently using is a “chmod u-w ~/.weechat”, but > that doesn't seem right and is obviously inconvenient when I want to > edit my configuration (and I'd like to avoid depending on SELinux for > something as simple). > > Is there any way to prevent this behavior? If there isn't any yet, > would a patch to add such feature have a chance to get merged in? > > Thanks in advance for your help. > > Best regards, > > -- > Jérémie >
Hi Jérémie, Instead of deleting config files, you can create empty files. On startup, config files are created only if they are not found. -- Sébastien Helleu web: weechat.org / flashtux.org irc: FlashCode @ irc.freenode.net _______________________________________________ Weechat-support mailing list Weechat-support@nongnu.org https://lists.nongnu.org/mailman/listinfo/weechat-support