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:
Johannes Altmanninger
2025-09-26 21:13:44 +02:00
parent abae6157d9
commit 829d6bc8fb
15 changed files with 44 additions and 16 deletions

View File

@@ -1699,12 +1699,6 @@ Fish also provides additional information through the values of certain environm
the process ID (PID) of the shell.
.. envvar:: fish_terminal
the name and version of the terminal fish is running inside (for example as reported via :ref:`XTVERSION <term-compat-xtversion>`).
This is initialized just before the first interactive prompt is shown (possibly via builtin :doc:`read <cmds/read>`),
that is, on the first ``fish_prompt`` or ``fish_read`` :ref:`event <event>`.
.. envvar:: history
a list containing the last commands that were entered.