Котлеты и конфиги - раздельно

Оказывается, не только меня достает множество жужжащих мух среди котлет... то есть пользовательских данных. Ссылка: libetc

What is libetc ?
On my system I had way too much dotfiles:

% ls -d ~/.* | wc -l
421

For easier maintenance I wrote libetc. It is a LD_PRELOAD-able shared library that intercepts file operations: if a program tries to open a dotfile in $HOME, it is redirected to $XDG_CONFIG_HOME (as defined by freedesktop).

You can then store all your config files in $XDG_CONFIG_HOME instead of using zillions dotfiles in $HOME

If $XDG_CONFIG_HOME is not defined, the dotfiles are stored in $HOME/.config/

Comments

Popular posts from this blog

Открытый софт для научных расчетов

Счетчики в SQLite

Модем Huawei E1550 в debian