Skip to main content

shell_init

Function shell_init 

Source
pub fn shell_init(ctx: &ExecutionContext) -> Result<ProbeResult>
Expand description

Render the most recent shell-init profile.

When no profile has been written yet (fresh install, or profiling disabled, or the user hasn’t started a shell since the last up), returns a “no data” view with has_profile = false. The template uses that flag to print a hint instead of an empty table.