From 18433278ecb21e6062ec182290e5640de0bf3648 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Thu, 16 Jun 2022 16:39:09 +0200 Subject: [PATCH] Document that status fish-path is platform-specific --- doc_src/cmds/status.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc_src/cmds/status.rst b/doc_src/cmds/status.rst index 1508fe8c3..94cbf02be 100644 --- a/doc_src/cmds/status.rst +++ b/doc_src/cmds/status.rst @@ -73,7 +73,7 @@ The following operations (subcommands) are available: Prints just the path to the running script, without the actual filename itself. This can be relative to :envvar:`PWD` (including just "."), depending on how the script was called. This is the same as passing the filename to ``dirname(3)``. It's useful if you want to use other files in the current script's directory or similar. **fish-path** - Prints the absolute path to the currently executing instance of fish. + Prints the absolute path to the currently executing instance of fish. This is a best-effort attempt and the exact output is down to what the platform gives fish. In some cases you might only get "fish". **function** or **current-function** Prints the name of the currently called function if able, when missing displays "Not a function" (or equivalent translated string).