Commands

Command reference

fish ships with a large number of builtin commands, shellscript functions and external commands. These are all described below.

Almost all fish commands respond to the -h or --help options to display their relevant help, also accessible using the help and man commands, like so:

echo -h
echo --help
# Prints help to the terminal window

man echo
# Displays the man page in the system pager
# (normally 'less', 'more' or 'most').

help echo
# Open a web browser to show the relevant documentation

abbr - manage fish abbreviations

Synopsis

abbr -a word phrase...
abbr -s
abbr -l
abbr -e word

Description

abbr manipulates the list of abbreviations that fish will expand.