Configuration
kexsh uses a TOML configuration file for customization.
Config file location
Section titled “Config file location”~/.config/kex/config.tomlOr $XDG_CONFIG_HOME/kex/config.toml if XDG_CONFIG_HOME is set.
Example config
Section titled “Example config”# Prefix key for entering Command mode (default: "ctrl-a")prefix_key = "ctrl-a"
# Show the status bar at the bottom (default: true)status_bar = trueManaging config from the CLI
Section titled “Managing config from the CLI”kexsh config show # Print current configurationkexsh config set key value # Set a config valuekexsh config reset # Reset to defaultsAvailable options
Section titled “Available options”| Option | Type | Default | Description |
|---|---|---|---|
prefix_key | string | "ctrl-a" | Key combo to enter Command mode |
status_bar | bool | true | Show mode indicator and keybinding hints |
Credential storage
Section titled “Credential storage”Authentication tokens (from kexsh login) are stored separately:
~/.config/kex/terminal/credentials.jsonThis file is created with 0600 permissions. See Device Registration for details.