top | item 3932260

(no title)

travisbhartwell | 14 years ago

For things that allow this like Emacs and Bash, I separate things into (for example) a config and a config-private repo. The config repo I put on github, and the private repo on my own server.

Then, with the public config file (~/.emacs.d/init.el and ~/.bashrc) I load a file based on the hostname that contains location-specific and private information.

This is useful because I can use the same framework at work and on personal machines. I don't have to mix the two.

discuss

order

No comments yet.