1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-15 02:55:23 +02:00
tldr/pages/linux/abbr.md
Managor 611d2c9a04
linux*: refresh old pages part 2 (#16263)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
2025-04-27 10:35:40 +03:00

21 lines
582 B
Markdown

# 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 {{[-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`