# Configuration Guide

```bash
export THESEUS_MAX_MEMORY=4096
```

#### ###Cache Settings

Configure caching behavior:

```bash
# Set cache directoryexport THESEUS_CACHE_DIR=/path/to/cache# Set cache size limitexport THESEUS_CACHE_SIZE=1024
```

### ##Security Settings

#### ###Access Control

Limit file access:

```bash
# Restrict to specific directoriesexport THESEUS_ALLOWED_PATHS=/path/to/projects# Block sensitive directoriesexport THESEUS_BLOCKED_PATHS=/path/to/sensitive
```

#### ###API Security

Secure API usage:

```bash
# Enable secure modeexport THESEUS_SECURE_MODE=true# Set API request timeoutexport THESEUS_API_TIMEOUT=30
```

### ##Customization

#### ###Custom Commands

Add custom commands in your configuration:

```json
{
  "customCommands": {
    "myCommand": {
      "script": "/path/to/script.sh",
      "description": "Custom command description"
    }
  }
}
```

#### ###Shortcuts

Configure keyboard shortcuts:

```json
{
  "shortcuts": {
    "togglePanel": "cmd+shift+p",
    "quickAction": "ctrl+space"
  }
}
```

### ##Troubleshooting

#### ###Configuration Validation

Verify your configuration:

```bash
theseus-tui verify-config
```

#### ###Debug Mode

Enable debug logging:

```bash
export THESEUS_DEBUG=truetheseus-tui --debug
```

#### ###Reset Configuration

Reset to default settings:

```bash
theseus-tui reset-config
```

### ##Next Steps

* Review [Basic Usage](https://theseus.gitbook.io/theseus-docs/YnVigVCSOC2zbWyuuHmy/basics/images-and-media)
* Explore [Features Overview](https://theseus.gitbook.io/theseus-docs/YnVigVCSOC2zbWyuuHmy/basics/markdown)
* Check out the [Quick Start Guide](https://theseus.gitbook.io/theseus-docs/YnVigVCSOC2zbWyuuHmy/getting-started/quickstart#quick-start-guide)
