From 3afead182710c7e45981707d22bebb8a1518f047 Mon Sep 17 00:00:00 2001 From: axel Date: Thu, 23 Feb 2006 00:21:37 +1000 Subject: [PATCH] Documentation clarification for the cd builtin darcs-hash:20060222142137-ac50b-cc9200ed23fa5796a56dc4ee3dde1ff7e8768fc3.gz --- doc_src/cd.txt | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/doc_src/cd.txt b/doc_src/cd.txt index 0b79bc0ea..9bd88a0ae 100644 --- a/doc_src/cd.txt +++ b/doc_src/cd.txt @@ -3,10 +3,9 @@ \subsection cd-synopsis Synopsis cd [DIRECTORY] -\subsection cd-description Description -Changes the current directory. If DIRECTORY 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 DIRECTORY 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.