mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 21:31:18 +08:00
13 lines
536 B
Plaintext
13 lines
536 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
|
||
|
CDPATH environment variable will be separated using the : as
|
||
|
separator, and the resulting list will be searched for a suitable new
|
||
|
current directory. If CDPATH is not set, it is assumed to be '.'. If
|
||
|
\c DIRECTORY is not specified, \$HOME will be the new directory.
|