fish-shell/sphinx_doc_src/cmds/vared.rst
Fabian Homborg 8d9782301e docs: Call "arrays" "lists"
We were flip-flopping between the two terms, so we now use one. We
still mention "array" in the chapter, and it's still `read --array`,
though.

Fixes #5846.

[ci skip]
2019-05-05 14:01:07 +02:00

21 lines
463 B
ReStructuredText

.. _cmd-vared:
vared - interactively edit the value of an environment variable
===============================================================
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.
Example
-------
``vared PATH[3]`` edits the third element of the PATH list