set fish code example
Example: fish script set variable
# Setting a normal variable
set varname "variable"
# Setting a variable as a result from a command
set varname (command)
# Setting a normal variable
set varname "variable"
# Setting a variable as a result from a command
set varname (command)