5 ms·
I haven't done it yet, but I've been meaning to set up a very simple solution to this using a preprocessor (probably m4). I think wrapping a few blocks in if-st
by drewfrank 14y ago
I haven't done it yet, but I've been meaning to set up a very simple solution to this using a preprocessor (probably m4). I think wrapping a few blocks in if-statements based on the host name will go pretty far.
edit: might as well link my repo, which doesn't yet include that functionality: https://github.com/drewfrank/dotfiles https://github.com/drewfrank/dotfiles
- halostatue 14y agoI've got a preprocessor (ruby) in my zsh dotfiles: https://github.com/halostatue/dotfiles https://github.com/halostatue/dotfiles I've been slowly moving toward a 'detect-and-configure' plug-in system that I'm quite happy with.