mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 01:13:10 +08:00
Mention how functions --details
handles aliases (#6423)
* Mention how `functions --details` handles aliases * Clarify that `source` is responsible for `-` paths
This commit is contained in:
parent
2e7cbaeaba
commit
de37e52dca
@ -29,7 +29,7 @@ The following options are available:
|
|||||||
|
|
||||||
- ``-e`` or ``--erase`` causes the specified functions to be erased. This also means that it is prevented from autoloading.
|
- ``-e`` or ``--erase`` causes the specified functions to be erased. This also means that it is prevented from autoloading.
|
||||||
|
|
||||||
- ``-D`` or ``--details`` reports the path name where each function is defined or could be autoloaded, ``stdin`` if the function was defined interactively or on the command line or by reading stdin, and ``n/a`` if the function isn't available. If the ``--verbose`` option is also specified then five lines are written:
|
- ``-D`` or ``--details`` reports the path name where each function is defined or could be autoloaded, ``stdin`` if the function was defined interactively or on the command line or by reading stdin, ``-`` if the function was created via ``source``, and ``n/a`` if the function isn't available. (Functions created via ``alias`` will return ``-``, because ``alias`` uses ``source`` internally.) If the ``--verbose`` option is also specified then five lines are written:
|
||||||
|
|
||||||
- the pathname as already described,
|
- the pathname as already described,
|
||||||
- ``autoloaded``, ``not-autoloaded`` or ``n/a``,
|
- ``autoloaded``, ``not-autoloaded`` or ``n/a``,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user