mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
docs: Put some more important variables first
This section was linked when talking about $PATH, and $PATH is much more important than $fish_color_something and $fish_emoji_width. [ci skip]
This commit is contained in:
parent
235266894b
commit
c4d0177d81
1 changed files with 6 additions and 6 deletions
|
@ -1181,6 +1181,12 @@ Special variables
|
|||
|
||||
The user can change the settings of ``fish`` by changing the values of certain variables.
|
||||
|
||||
- ``PATH``, an array of directories in which to search for commands
|
||||
|
||||
- ``CDPATH``, an array of directories in which to search for the new directory for the ``cd`` builtin.
|
||||
|
||||
- ``LANG``, ``LC_ALL``, ``LC_COLLATE``, ``LC_CTYPE``, ``LC_MESSAGES``, ``LC_MONETARY``, ``LC_NUMERIC`` and ``LC_TIME`` set the language option for the shell and subprograms. See the section `Locale variables <#variables-locale>`_ for more information.
|
||||
|
||||
- A large number of variable starting with the prefixes ``fish_color`` and ``fish_pager_color``. See `Variables for changing highlighting colors <#variables-color>`__ for more information.
|
||||
|
||||
- ``fish_emoji_width`` controls the computed width of certain characters, in particular emoji, whose rendered width varies across terminal emulators. This should be set to 1 if your terminal emulator renders emoji single-width, or 2 if double-width. Set this only if you see graphical glitching when printing emoji.
|
||||
|
@ -1203,12 +1209,6 @@ The user can change the settings of ``fish`` by changing the values of certain v
|
|||
|
||||
- ``BROWSER``, the user's preferred web browser. If this variable is set, fish will use the specified browser instead of the system default browser to display the fish documentation.
|
||||
|
||||
- ``CDPATH``, an array of directories in which to search for the new directory for the ``cd`` builtin.
|
||||
|
||||
- ``LANG``, ``LC_ALL``, ``LC_COLLATE``, ``LC_CTYPE``, ``LC_MESSAGES``, ``LC_MONETARY``, ``LC_NUMERIC`` and ``LC_TIME`` set the language option for the shell and subprograms. See the section `Locale variables <#variables-locale>`_ for more information.
|
||||
|
||||
- ``PATH``, an array of directories in which to search for commands
|
||||
|
||||
``fish`` also sends additional information to the user through the values of certain environment variables. The user cannot change the values of most of these variables.
|
||||
|
||||
- ``_``, the name of the currently running command (though this is deprecated, and the use of ``status current-command`` is preferred).
|
||||
|
|
Loading…
Reference in a new issue