Skip to main content

default_config_content

Function default_config_content 

Source
pub fn default_config_content() -> &'static str
Expand description

Seed config written by runex init when no config exists yet.

Includes a working trigger key and one runnable sample abbreviation so the user can verify expansion immediately after a fresh install without first having to read the docs. The codex usability review flagged “installed but nothing happens” as the second-most painful onboarding break, so the seed is deliberately useful rather than minimal.

runex init only writes this content when the config file does not already exist (OpenOptions::create_new). Existing configs are never touched.