mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-15 02:55:23 +02:00

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
21 lines
582 B
Markdown
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`
|