fish set command

Syntax

fish set sym a

Assign a FISH symbol. The symbol sym is assigned the value a.

This command exists for convenience, but in general it is more flexible and reliable to use inline FISH as follows:

[ fred = 4.5 ]