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
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.