Incorporate most new doc changes since branch

Adds most documentation changes since 72c0213d42
This commit is contained in:
ridiculousfish
2019-02-24 15:01:16 -08:00
parent 3debfe7534
commit d5e0392964
10 changed files with 53 additions and 25 deletions

View File

@@ -13,6 +13,7 @@ status is-command-substitution
status is-no-job-control
status is-full-job-control
status is-interactive-job-control
status current-command
status filename
status fish-path
status function
@@ -30,7 +31,7 @@ With no arguments, ``status`` displays a summary of the current login and job co
The following operations (sub-commands) are available:
- ``is-command-sub`` returns 0 if fish is currently executing a command substitution. Also ``-c`` or ``--is-command-substitution``.
- ``is-command-substitution`` returns 0 if fish is currently executing a command substitution. Also ``-c`` or ``--is-command-substitution``.
- ``is-block`` returns 0 if fish is currently executing a block of code. Also ``-b`` or ``--is-block``.
@@ -46,6 +47,8 @@ The following operations (sub-commands) are available:
- ``is-no-job-control`` returns 0 if no job control is enabled. Also ``--is-no-job-control`` (no short flag).
- ``current-command`` prints the name of the currently-running function or command, like the deprecated ``_`` variable.
- ``filename`` prints the filename of the currently running script. Also ``current-filename``, ``-f`` or ``--current-filename``.
- ``fish-path`` prints the absolute path to the currently executing instance of fish.