commands.sh

abbr

linux

Manage abbreviations for the fish shell. User-defined words are replaced with longer phrases after they are entered.

More info →

Options (3)

-a, --addboolean

Add a new abbreviation

Example: abbr {{[-a|--add]}} {{abbreviation_name}} {{command}} {{command_arguments}}
-e, --eraseboolean

Erase an existing abbreviation

Example: abbr {{[-e|--erase]}} {{abbreviation_name}}
-s, --showboolean

Import the abbreviations defined on another host over SSH

Example: ssh {{host_name}} abbr {{[-s|--show]}} | source

Examples (4)

Add a new abbreviation

abbr [-a|--add] abbreviation_name command command_arguments

Rename an existing abbreviation

abbr --rename old_name new_name

Erase an existing abbreviation

abbr [-e|--erase] abbreviation_name

Import the abbreviations defined on another host over SSH

ssh host_name abbr [-s|--show] | source
made by @shridhargupta | data from tldr-pages