Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 2 down vote accepted

There is no global config file, but a shortcut:

Use

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

 
discard

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.