mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
abbr: add page (#7508)
This commit is contained in:
parent
dc66d32ddf
commit
3d89af60cd
1 changed files with 21 additions and 0 deletions
21
pages/linux/abbr.md
Normal file
21
pages/linux/abbr.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
# 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`
|
Loading…
Add table
Reference in a new issue