Move to plugin
Set Linux undodir and friends