MyNixOS website logo
option

programs.fish.functions.<name>.inheritVariable

Snapshots the value of the specified variable and defines a local variable with that same name and value when the function is defined.

Declarations
    Type
    null or string
    Default
    null