fish history command

Syntax

fish history <name s > sym

Create a history of the FISH variable sym. A name can be assigned for later reference. If not assigned, a name will be generated automatically based on the internally assigned ID number. The value of the history will be taken at the history interval, the return value is assumed to be a number.