mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 05:53:59 +00:00
docs/abbr: Explain saving abbrs
This commit is contained in:
parent
472d7efe34
commit
92551e1818
1 changed files with 7 additions and 0 deletions
|
@ -49,6 +49,13 @@ Combining these features, it is possible to create custom syntaxes, where a regu
|
|||
> abbr >> ~/.config/fish/config.fish
|
||||
> abbr --erase (abbr --list)
|
||||
|
||||
Alternatively you can keep them in a separate :ref:`configuration file <configuration>` by doing something like the following::
|
||||
|
||||
> abbr > ~/.config/fish/conf.d/myabbrs.fish
|
||||
|
||||
This will save all your abbrevations in "myabbrs.fish", overwriting the whole file so it doesn't leave any duplicates,
|
||||
or restore abbreviations you had erased.
|
||||
Of course any functions will have to be saved separately, see :doc:`funcsave <funcsave>`.
|
||||
|
||||
"add" subcommand
|
||||
--------------------
|
||||
|
|
Loading…
Reference in a new issue