Function bash_builtins::variables::bind

source ·
pub fn bind(
    name: &str,
    dynvar: impl DynamicVariable + 'static
) -> Result<(), VariableError>
Expand description

Bind the shell variable referenced by name to an instance of DynamicVariable.

See the documentation of DynamicVariable for details on how to define a dynamic variable.