fish-shell/sphinx_doc_src/cmds/vared.rst
David Adam 02d82dcf85 docs: update all command synopsis formatting
Adds synopses for those commands missing them.

Moves all synopsis sections to code blocks. This improves the appearance, although highlighting as
fish code may not be the ideal appearance.
2019-09-17 17:59:04 +08:00

23 lines
470 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