mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 08:50:36 +00:00
Update cheatsheets
This commit is contained in:
26
linux/abbr
Normal file
26
linux/abbr
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user