The following are optional environment variables. You can set them in your shell profile (e.g. .bashrc, .zshrc, etc.) to have them persistently available, or provide them as arguments when you enter the ucm command.
Merge/diff tool config
UCM_MERGETOOL
Allows selecting which merge tool to use when resolving merge conflicts.
See the UCM merge tool documentation for more details.
UCM_DIFFTOOL
Allows selecting which diff tool to use when viewing diffs.
If the UCM_DIFFTOOL environment variable is set, it will be executed with variables $LOCAL and $REMOTE as described in the Git-scm docs.
Console output config
UNISON_PAGER
UNISON_FZF_PATH
If you wish to disable fzf entirely, you can set UNISON_FZF_PATH to "NONE".
Unison Share config
UNISON_SHARE_HOST
UNISON_SHARE_ACCESS_TOKEN
Allows overriding the credentials used when authenticating with the Share server.
UNISON_SYNC_VERSION
Allows regressing to sync version 1 when interacting with Share.
UNISON_SYNC_HISTORY_COMMENTS
UNISON_LSP_PORT
Allows selecting the port to run the LSP server on. Defaults to 5757.
Language server config
UNISON_LSP_ENABLED
Allows explicitly enabling or disabling the LSP server. Acceptable values are 'true' or 'false'
You can set this persistently in powershell using:
See this issue for more details.
E.g.
$ UNISON_LSP_ENABLED=true ucmGeneral codebase config
UNISON_READONLY
UNISON_DEBUG
UNISON_ENTITY_VALIDATION
UNISON_MIGRATION
UNISON_PULL_WORKERS
Allows setting the number of workers to use when pulling from a codebase server. Defaults to 5.
UNISON_PUSH_WORKERS
Allows setting the number of workers to use when pushing to a codebase server. Defaults to 1.
UNISON_SYNC_CHUNK_SIZE
Allows setting the chunk size used in requests when syncing a codebase. Defaults to 50.