fish automatic-create command

Syntax

fish automatic-create b

Set the FISH symbol automatic creation status. If true, new global variables are created when unrecognized strings (that are valid possible symbol names) are found during code interpretation of FISH expressions. Otherwise, all variables must be declared using local and global keywords in FISH. By default, automatic creation is on.

It is recommended that fish automatic-create off be specified if large, complex FISH functions are being written, to prevent errors arising from mistyped variable names.