mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 22:55:16 +08:00
12 lines
489 B
Plaintext
12 lines
489 B
Plaintext
\section cd cd - change directory
|
|
|
|
\subsection cd-synopsis Synopsis
|
|
<tt>cd [DIRECTORY]</tt>
|
|
|
|
\subsection cd-description Description
|
|
Changes the current directory. If <tt>DIRECTORY</tt> is supplied it will become
|
|
the new directory. If \c DIRECTORY is a relative path, the paths found in the
|
|
CDPATH environment variable array will be tried as prefixes for the specified
|
|
path. If CDPATH is not set, it is assumed to be '.'. If \c DIRECTORY is not
|
|
specified, \$HOME will be the new directory.
|