charlesthomas / magpie

Git-backed Evernote replacement
MIT License
646 stars 50 forks source link

Enable configuration from home directory #5

Closed peterjeschke closed 10 years ago

peterjeschke commented 10 years ago

This adds the possibility of defining multiple locations for the config-files. The given example first searches in ~/.magpie and if it doesn't find any config-files there, it searches in the default path. This enables configuration for each individual user and fixes the problem that magpie must be run as root if it was installed as root.

This (most likely?) fixes https://github.com/charlesthomas/magpie/issues/1

charlesthomas commented 10 years ago

Thanks!

This is a great idea that I didn't think of until I saw #1 myself.

I will try to test this out and merge either today or over the weekend.