slog through documentation

I did.. a and b today.
This commit is contained in:
Aaron Gyes
2021-12-09 03:33:33 -08:00
parent e181d825fa
commit 79d1b3e085
9 changed files with 248 additions and 193 deletions

View File

@@ -6,11 +6,9 @@ alias - create a function
Synopsis
--------
::
alias
alias [OPTIONS] NAME DEFINITION
alias [OPTIONS] NAME=DEFINITION
| ``alias``
| ``alias`` [*OPTIONS*] *NAME* *DEFINITION*
| ``alias`` [*OPTIONS*] *NAME*=*DEFINITION*
Description
@@ -27,17 +25,15 @@ You cannot create an alias to a function with the same name. Note that spaces ne
The following options are available:
- ``-h`` or ``--help`` displays help about using this command.
- **-h** or **--help** displays help about using this command.
- ``-s`` or ``--save`` Automatically save the function created by the alias into your fish configuration directory using :ref:`funcsave <cmd-funcsave>`.
- **-s** or **--save** Automatically save the function created by the alias into your fish configuration directory using :ref:`funcsave <cmd-funcsave>`.
Example
-------
The following code will create ``rmi``, which runs ``rm`` with additional arguments on every invocation.
::
alias rmi="rm -i"