pub const DEFAULT_CONFIG: &str = "# pxh configuration -- ~/.config/pxh/config.toml\n#\n# Every setting is optional and shown here at its default. Uncomment a line\n# to change it. Unknown keys are an error: `pxh doctor` reports them and pxh\n# falls back to defaults until the file is fixed.\n\n# Identity used to attribute history during sync. `hostname` and `machine_id`\n# are written for you by `pxh install` / `pxh config` and appear below once\n# set; leave them alone unless you know why. They have no default value, so\n# there is nothing to uncomment for them here.\n[host]\n# aliases = []\n\n[shell]\n# Keep the shell\'s own Ctrl-R instead of binding `pxh recall`.\n# disable_ctrl_r = false\n\n[history]\n# Regexes for commands that are not recorded. Set to [] to record everything.\n# ignore_patterns = [\"^ls$\", \"^cd( .)?$\", \"^pwd$\", \"^exit$\", \"^clear$\", \"^fg$\", \"^bg$\", \"^jobs$\", \"^history$\", \"^true$\", \"^false$\"]\n\n[recall]\n# Key bindings in the recall TUI: \"emacs\" or \"vim\".\n# keymap = \"emacs\"\n# Show the preview pane with the selected command\'s details.\n# show_preview = true\n# Maximum number of rows loaded into the fuzzy matcher.\n# result_limit = 5000\n\n[recall.preview]\n# Which fields the preview pane shows.\n# show_directory = true\n# show_timestamp = true\n# show_exit_status = true\n# show_hostname = false\n# show_duration = true\n";Expand description
Embedded default config template (repo root config.toml). Every key,
commented out, at its default value. pxh config writes it when no
config exists; template_parses_to_defaults keeps it honest.