aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--doc_src/cd.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc_src/cd.txt b/doc_src/cd.txt
index bb4dc488..3153c383 100644
--- a/doc_src/cd.txt
+++ b/doc_src/cd.txt
@@ -14,6 +14,7 @@ If `DIRECTORY` is a relative path, the paths found in the `CDPATH` environment v
Note that the shell will attempt to change directory without requiring `cd` if the name of a directory is provided (starting with `.`, `/` or `~`, or ending with `/`).
+Fish also ships a wrapper function around `cd` that understands `cd -` as changing to the previous directory. See <a href="commands.html#prevd">`prevd`</a>.
\subsection cd-example Examples