Skip to main content

Module init

Module init 

Source

Constants§

RUNEX_INIT_MARKER
Marker comment written into rc files to enable idempotent init.

Functions§

default_clink_lua_install_path
Where runex init clink writes the lua integration script.
default_config_content
Seed config written by runex init when no config exists yet.
integration_line
The single line appended to the shell rc file.
next_steps_message
“What to do next” blurb shown after runex init finishes. The integration line lives in the rcfile but the currently-running shell hasn’t sourced it yet, so the user has to either reload the rcfile or open a fresh shell. Each shell has its own idiomatic reload command; clink keeps no rcfile and just needs a new cmd.
rc_file_for
The rc file path for a given shell (best-effort; may not exist yet).