Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like all my unison profiles to have

merge = Name * -> meld CURRENT1 CURRENT2
diff = /usr/bin/meld CURRENT1 CURRENT2
confirmmerge = true

as options. I know I can add these options to each .prf files in ~/.unison/, but having a global config file for all unison profiles would be preferable. Is there such a file?

share|improve this question
up vote 2 down vote accepted

There is no global config file, but a shortcut:


include file

to source other config files.

Now you can save the above lines to common and add include common at the beginning of each of your config files.

There is a more sophisticated setup in the official manual.

share|improve this answer
Not exactly what I expected, but that will save me some time. Thanks. – nodiscc Mar 10 '13 at 22:40
with the frequency we create unison profiles, this works perfectly, thx! – Aquarius Power Oct 21 '13 at 14:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.