{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Morc", "description": "Configuration file for mo - Project manager for opensource developers on Github.", "type": "object", "required": ["root", "shells"], "properties": { "root": { "type": "string", "description": "The root directory where all your GitHub repositories are stored. Relative to the config file location.", "examples": ["~/code", "/Users/username/code", "C:\\Users\\username\\code"] }, "editor": { "type": "string", "description": "The default editor command to open repositories", "examples": ["code", "cursor", "agy", "zed"] }, "shells": { "type": "array", "description": "Shells whose shellrc files should be managed by mo. At least one shell is required.", "items": { "type": "string", "enum": ["zsh", "bash", "fish"] }, "minItems": 1, "uniqueItems": true, "examples": [["zsh"], ["zsh", "fish"]] }, "alias": { "type": "object", "description": "Optional shell aliases for mo commands.", "properties": { "clone": { "type": "array", "items": { "type": "string", "pattern": "^[A-Za-z_][A-Za-z0-9_-]*$" }, "uniqueItems": true }, "list": { "type": "array", "items": { "type": "string", "pattern": "^[A-Za-z_][A-Za-z0-9_-]*$" }, "uniqueItems": true }, "cd": { "type": "array", "items": { "type": "string", "pattern": "^[A-Za-z_][A-Za-z0-9_-]*$" }, "uniqueItems": true }, "edit": { "type": "array", "items": { "type": "string", "pattern": "^[A-Za-z_][A-Za-z0-9_-]*$" }, "uniqueItems": true }, "open": { "type": "array", "items": { "type": "string", "pattern": "^[A-Za-z_][A-Za-z0-9_-]*$" }, "uniqueItems": true }, "fork": { "type": "array", "items": { "type": "string", "pattern": "^[A-Za-z_][A-Za-z0-9_-]*$" }, "uniqueItems": true }, "init": { "type": "array", "items": { "type": "string", "pattern": "^[A-Za-z_][A-Za-z0-9_-]*$" }, "uniqueItems": true } }, "additionalProperties": false }, "compositionAlias": { "type": "boolean", "description": "Generate composed shell aliases such as `ki` for `mo composition clone cd`." }, "$schema": { "type": "string", "description": "The schema URL for this config file." } }, "additionalProperties": false, "allowComments": true, "allowTrailingCommas": true }