docs: Simplify exporting section

This commit is contained in:
Fabian Boehm
2022-12-21 16:23:11 +01:00
parent d2cd6c1cd6
commit dfaafd733a
2 changed files with 4 additions and 14 deletions

View File

@@ -25,7 +25,7 @@ Variables
Fish sets and erases variables with :doc:`set <cmds/set>` instead of ``VAR=VAL`` and a variety of separate builtins like ``declare`` and ``unset`` and ``export``. ``set`` takes options to determine the scope and exportedness of a variable::
# Define $PAGER global and exported,
# Define $PAGER *g*lobal and e*x*ported,
# so this is like ``export PAGER=less``
set -gx PAGER less