From 3d89af60cdcb9daaf020ea7cdf9f1b7cf630559b Mon Sep 17 00:00:00 2001 From: JohannesPertl Date: Sat, 25 Dec 2021 00:09:46 +0100 Subject: [PATCH] abbr: add page (#7508) --- pages/linux/abbr.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pages/linux/abbr.md diff --git a/pages/linux/abbr.md b/pages/linux/abbr.md new file mode 100644 index 000000000..125fd93b7 --- /dev/null +++ b/pages/linux/abbr.md @@ -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: . + +- 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`