From 3855608c690cec92555d5ec8a95703422403137f Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Thu, 3 Jan 2019 11:47:32 +0100 Subject: [PATCH] docs: Document $hostname Fixes #5469. [ci skip] (cherry picked from commit 72c0213d42b77b2f01223b5515669840110ea9b9) --- doc_src/index.hdr.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc_src/index.hdr.in b/doc_src/index.hdr.in index a0e326e89..7f2fe7efc 100644 --- a/doc_src/index.hdr.in +++ b/doc_src/index.hdr.in @@ -931,6 +931,8 @@ The user can change the settings of `fish` by changing the values of certain var - `HOME`, the user's home directory. This variable can be changed by the user. +- `hostname`, the machine's hostname. + - `IFS`, the internal field separator that is used for word splitting with the read builtin. Setting this to the empty string will also disable line splitting in command substitution. This variable can be changed by the user. - `PWD`, the current working directory.