1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 21:17:57 +01:00
tldr/pages/linux/abbr.md
2021-12-24 23:09:46 +00:00

555 B

abbr

Manage abbreviations for the fish shell. User-defined words are replaced with longer phrases after they are entered. More information: https://fishshell.com/docs/current/cmds/abbr.html.

  • Add a new abbreviation:

abbr --add {{abbreviation_name}} {{command}} {{command_arguments}}

  • Rename an existing abbreviation:

abbr --rename {{old_name}} {{new_name}}

  • Erase an existing abbreviation:

abbr --erase {{abbreviation_name}}

  • Import the abbreviations defined on another host over SSH:

ssh {{host_name}} abbr --show | source