From eb3bbb13607d4b17153153f7b9723cebd387a789 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Sun, 31 Mar 2019 11:50:28 +0200 Subject: [PATCH] docs: Fix example link --- sphinx_doc_src/tutorial.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sphinx_doc_src/tutorial.rst b/sphinx_doc_src/tutorial.rst index b98ef5061..fa40ac1ec 100644 --- a/sphinx_doc_src/tutorial.rst +++ b/sphinx_doc_src/tutorial.rst @@ -597,7 +597,7 @@ To remove /usr/local/bin from ``$PATH``, you can write:: >_ set PATH (string match -v /usr/local/bin $PATH) -You can do so directly in ``config.fish``, like you might do in other shells with ``.profile``. See [this example](#path_example). +You can do so directly in ``config.fish``, like you might do in other shells with ``.profile``. See :ref:`this example `. A faster way is to modify the ``$fish_user_paths`` [universal variable](#tut_universal), which is automatically prepended to ``$PATH``. For example, to permanently add ``/usr/local/bin`` to your ``$PATH``, you could write:: @@ -613,8 +613,7 @@ Startup (Where's .bashrc?) It is possible to directly create functions and variables in ``config.fish`` file, using the commands shown above. For example: - - +.. _path_example: ::