mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-18 00:31:15 -03:00
Move terminal name into status subcommand not variable
Forgot about that; less namespace pollution this way, and it's more obvious that it's read-only.
This commit is contained in:
@@ -33,6 +33,7 @@ Synopsis
|
||||
status build-info
|
||||
status get-file FILE
|
||||
status list-files [PATH]
|
||||
status terminal
|
||||
|
||||
Description
|
||||
-----------
|
||||
@@ -117,6 +118,11 @@ The following operations (subcommands) are available:
|
||||
This lists the files embedded in the fish binary at compile time. Only files where the path starts with the optional *FILE* argument are shown.
|
||||
Returns 0 if something was printed, 1 otherwise.
|
||||
|
||||
**terminal**
|
||||
Prints the name and version of the terminal fish is running inside (for example as reported via :ref:`XTVERSION <term-compat-xtversion>`).
|
||||
This is not available during early startup but only just before the first interactive prompt is shown (possibly via builtin :doc:`read <read>`),
|
||||
that is, on the first ``fish_prompt`` or ``fish_read`` :ref:`event <event>`.
|
||||
|
||||
Notes
|
||||
-----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user