mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
3a23fdf359
Includes harmonizing the display of options and arguments, standardising terminology, using the envvar directive more broadly, adding help options to all commands that support them, simplifying some language, and tidying up multiple formatting issues. string documentation is not changed.
24 lines
553 B
ReStructuredText
24 lines
553 B
ReStructuredText
.. _cmd-vared:
|
|
|
|
vared - interactively edit the value of an environment variable
|
|
===============================================================
|
|
|
|
Synopsis
|
|
--------
|
|
|
|
.. synopsis::
|
|
|
|
vared VARIABLE_NAME
|
|
|
|
Description
|
|
-----------
|
|
|
|
``vared`` is used to interactively edit the value of an environment variable. Array variables as a whole can not be edited using ``vared``, but individual list elements can.
|
|
|
|
The **-h** or **--help** option displays help about using this command.
|
|
|
|
Example
|
|
-------
|
|
|
|
``vared PATH[3]`` edits the third element of the PATH list
|