diff options
author | axel <axel@liljencrantz.se> | 2006-02-23 00:21:37 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-02-23 00:21:37 +1000 |
commit | 3afead182710c7e45981707d22bebb8a1518f047 (patch) | |
tree | 4bb35bf91671a2ec9d0233e2859e9c279d285259 /doc_src/cd.txt | |
parent | 0ea69dab7bd8f02dd1f72bc1d7fa1dc0b865e24f (diff) |
Documentation clarification for the cd builtin
darcs-hash:20060222142137-ac50b-cc9200ed23fa5796a56dc4ee3dde1ff7e8768fc3.gz
Diffstat (limited to 'doc_src/cd.txt')
-rw-r--r-- | doc_src/cd.txt | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/doc_src/cd.txt b/doc_src/cd.txt index 0b79bc0e..9bd88a0a 100644 --- a/doc_src/cd.txt +++ b/doc_src/cd.txt @@ -3,10 +3,9 @@ \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. +\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. |