Skip to main content

generate_block

Function generate_block 

Source
pub fn generate_block(kv_root: &str) -> String
Expand description

Generate the shell init block with completions and dev aliases.

The block template lives in resources/shell_init.sh.tera and is embedded at compile time, then rendered via Tera at runtime.