docs: Document $hostname

Fixes #5469.

[ci skip]

(cherry picked from commit 72c0213d42b77b2f01223b5515669840110ea9b9)
This commit is contained in:
Fabian Homborg 2019-01-03 11:47:32 +01:00 committed by David Adam
parent 8ff8124765
commit 3855608c69

View File

@ -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. - `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 <a href="commands.html#read">read builtin</a>. Setting this to the empty string will also disable line splitting in <a href="#expand-command-substitution">command substitution</a>. This variable can be changed by the user. - `IFS`, the internal field separator that is used for word splitting with the <a href="commands.html#read">read builtin</a>. Setting this to the empty string will also disable line splitting in <a href="#expand-command-substitution">command substitution</a>. This variable can be changed by the user.
- `PWD`, the current working directory. - `PWD`, the current working directory.