save fish termincal output to a file using less `<` `|$cat>output.txt`
starts with command-f to open less in fish shell
<
- less command to jump to line 1
|$
-
$
indicate end of file, pipe whole file (from
<
to
$
) to a shell command
cat>output.txt
is a shell command to pipe to file output.txt
see more
man less
section
| <m> shell-command