Skip to main content

bash_special_array

Function bash_special_array 

Source
pub fn bash_special_array(name: &str) -> Option<Vec<String>>
Expand description

Resolve a bash special ARRAY name (PIPESTATUS, FUNCNAME, BASH_VERSINFO) to its value in --bash mode by aliasing the zsh-native special or synthesizing it. Returns None for any other name (or outside bash mode) so callers fall through to normal array resolution.