6

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?

nodiscc
  • 187
  • 8

1 Answers1

7

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.

Profpatsch
  • 188
  • 5