managing dotfiles with gnu stow - GNU/Linux

Users browsing this thread: 5 Guest(s)
seninha
Long time nixers
(14-09-2020, 08:15 AM)z3bra Wrote: I think managing dotfiles is adding complexity and pain to an environment.

The less configuration files I have, the better I am.

Now you sometimes need dotfiles, so for these special cases, I try my best to keep is short enough, so that rewriting it entirely is faster than pulling dotfiles from a remote server.
I'm with z3bra here.

With time I am moving from programs with involved configuration files to programs configurable via environment variables, X resources (for X programs) or command-line arguments. Thus, I only have to change my .profile (or .Xresources) and set the appropriate variables, or create a wrapper script calling the program with the correct command-line arguments.

Or, in the last case, I use programs configurable at compile time via config.h (but most of the time, in those cases, I change the source for the program to read environment variables so I can change its configuration at runtime).

Only programs with a really complex interface or that should read a database for being usable that I accept as having a rules file. In those cases, I move their rules files from ~/.* or ~/.config/* to ~/rules/* (I call they “rules files” rather than “configuration files”).


Messages In This Thread
managing dotfiles with gnu stow - by xero - 05-08-2014, 12:57 PM
RE: managing dotfiles with gnu stow - by yrmt - 05-08-2014, 01:42 PM
RE: managing dotfiles with gnu stow - by z3bra - 05-08-2014, 04:26 PM
RE: managing dotfiles with gnu stow - by dami0 - 05-08-2014, 05:11 PM
RE: managing dotfiles with gnu stow - by z3bra - 05-08-2014, 07:09 PM
RE: managing dotfiles with gnu stow - by xero - 06-08-2014, 11:37 AM
RE: managing dotfiles with gnu stow - by dami0 - 06-08-2014, 07:29 PM
RE: managing dotfiles with gnu stow - by AlexTes - 03-12-2016, 05:19 PM
RE: managing dotfiles with gnu stow - by Wildefyr - 08-06-2019, 10:13 AM
RE: managing dotfiles with gnu stow - by xero - 17-06-2019, 06:04 PM
RE: managing dotfiles with gnu stow - by piotr - 28-06-2019, 01:27 PM
RE: managing dotfiles with gnu stow - by Halfwit - 29-06-2019, 10:35 PM
RE: managing dotfiles with gnu stow - by venam - 14-09-2020, 02:30 AM
RE: managing dotfiles with gnu stow - by jkl - 14-09-2020, 07:25 AM
RE: managing dotfiles with gnu stow - by z3bra - 14-09-2020, 08:15 AM
RE: managing dotfiles with gnu stow - by mcol - 14-09-2020, 11:06 AM
RE: managing dotfiles with gnu stow - by s0kx - 14-09-2020, 12:59 PM
RE: managing dotfiles with gnu stow - by seninha - 15-09-2020, 09:59 PM
RE: managing dotfiles with gnu stow - by ckester - 15-09-2020, 11:30 PM
RE: managing dotfiles with gnu stow - by neeasade - 16-09-2020, 01:07 PM
RE: managing dotfiles with gnu stow - by mcol - 16-09-2020, 04:07 PM
RE: managing dotfiles with gnu stow - by r1w1s1 - 13-06-2024, 05:08 PM