Skip to main content

scriptname_get

Function scriptname_get 

Source
pub fn scriptname_get() -> Option<String>
Expand description

Read scriptname — direct mirror of the C file-scope char *scriptname; at Src/utils.c:36. Exposed for the prompt expander (%N), bin_dot, and ZLE source tracking.