aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2016-02-13 15:08:54 +0100
committerGravatar Fabian Homborg <FHomborg@gmail.com>2016-02-13 17:08:19 +0100
commit00cd01c89e17fc8510cdc3fea14ca7fd948c0b0e (patch)
tree960c70f9c4167e4aa3d9e2b821c087b10e788615 /doc_src
parenteb0d18add4b7ccb086c53a418771426a098baf55 (diff)
Soften abbr-in-config.fish wording
This isn't as necessary anymore and having abbrs in config.fish is nice for e.g. storing it in git.
Diffstat (limited to 'doc_src')
-rw-r--r--doc_src/abbr.txt10
1 files changed, 1 insertions, 9 deletions
diff --git a/doc_src/abbr.txt b/doc_src/abbr.txt
index 799e5003..a4e709d0 100644
--- a/doc_src/abbr.txt
+++ b/doc_src/abbr.txt
@@ -14,15 +14,7 @@ abbr -e word
Abbreviations are user-defined character sequences or words that are replaced with longer phrases after they are entered. For example, a frequently-run command such as `git checkout` can be abbreviated to `gco`. After entering `gco` and pressing @key{Space} or @key{Enter}, the full text `git checkout` will appear in the command line.
-Abbreviations are stored using universal variables. You can create abbreviations directly on the command line, and they will be saved automatically. Do not place them in config.fish, because this will lead to worse startup performance. Alternatively, guard the assignment with another universal variable, like:
-
-\fish
-if not set -q my_fish_abbreviations
- abbr gco='git checkout'
- abbr abr='another abbreviation expansion'
- set -U my_fish_abbreviations 1
-end
-\endfish
+Abbreviations are stored using universal variables. You can create abbreviations directly on the command line, and they will be saved automatically. Calling `abbr -a` in config.fish will lead to slightly worse startup performance.
The following parameters are available: