mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-29 00:21:14 -03:00
Convert \\subsection sections into rst format
This commit is contained in:
@@ -7,7 +7,8 @@ Synopsis
|
||||
cd [DIRECTORY]
|
||||
|
||||
|
||||
\subsection cd-description Description
|
||||
Description
|
||||
------------
|
||||
`cd` changes the current working directory.
|
||||
|
||||
If `DIRECTORY` is supplied, it will become the new directory. If no parameter is given, the contents of the `HOME` environment variable will be used.
|
||||
@@ -20,7 +21,8 @@ Fish also ships a wrapper function around the builtin `cd` that understands `cd
|
||||
|
||||
As a special case, `cd .` is equivalent to `cd $PWD`, which is useful in cases where a mountpoint has been recycled or a directory has been removed and recreated.
|
||||
|
||||
\subsection cd-example Examples
|
||||
Examples
|
||||
------------
|
||||
|
||||
\fish
|
||||
cd
|
||||
@@ -30,6 +32,7 @@ cd /usr/src/fish-shell
|
||||
# changes the working directory to /usr/src/fish-shell
|
||||
\endfish
|
||||
|
||||
\subsection cd-see-also See Also
|
||||
See Also
|
||||
------------
|
||||
|
||||
See also the <a href="commands.html#cdh">`cdh`</a> command for changing to a recently visited directory.
|
||||
|
||||
Reference in New Issue
Block a user