diff --git a/sphinx_doc_src/cmds/dirs.rst b/sphinx_doc_src/cmds/dirs.rst index 1ddabb4e8..e67d94293 100644 --- a/sphinx_doc_src/cmds/dirs.rst +++ b/sphinx_doc_src/cmds/dirs.rst @@ -14,7 +14,7 @@ Synopsis Description ----------- -``dirs`` prints the current directory stack, as created by the :ref:`pushd ` command. +``dirs`` prints the current directory stack, as created by :ref:`pushd ` and modified by :ref:`popd `. With "-c", it clears the directory stack instead. diff --git a/sphinx_doc_src/cmds/popd.rst b/sphinx_doc_src/cmds/popd.rst index 24e8f65e0..a1e49cf4e 100644 --- a/sphinx_doc_src/cmds/popd.rst +++ b/sphinx_doc_src/cmds/popd.rst @@ -14,7 +14,7 @@ Synopsis Description ----------- -``popd`` removes the top directory from the directory stack and changes the working directory to the new top directory. Use :ref:`pushd ` to add directories to the stack. +``popd`` removes the top directory from the directory stack and changes the working directory to the new top directory. Use :ref:`pushd ` to add directories to the stack or :ref:`dirs ` to print it. You may be interested in the :ref:`cdh ` command which provides a more intuitive way to navigate to recently visited directories. diff --git a/sphinx_doc_src/cmds/pushd.rst b/sphinx_doc_src/cmds/pushd.rst index 5467510b1..25755b10a 100644 --- a/sphinx_doc_src/cmds/pushd.rst +++ b/sphinx_doc_src/cmds/pushd.rst @@ -21,7 +21,7 @@ Without arguments, it exchanges the top two directories in the stack. ``pushd -NUMBER`` rotates clockwise i.e. top to bottom. -See also ``dirs`` and ``dirs -c``. +See also :ref:`dirs ` to print the stack and ``dirs -c`` to clear it. You may be interested in the :ref:`cdh ` command which provides a more intuitive way to navigate to recently visited directories.