diff options
author | Fabian Homborg <FHomborg@gmail.com> | 2015-09-20 15:25:13 +0200 |
---|---|---|
committer | Fabian Homborg <FHomborg@gmail.com> | 2015-09-20 15:25:13 +0200 |
commit | 10a60b6ec2de642fc72db3e20657dd2c59951311 (patch) | |
tree | 5c13da6f28568b1576ddaa8ed178e485bbc04aa8 | |
parent | 054fb228540efc9d502d8a217f6189fe049de61b (diff) |
Document `cd -`
Fixes #1946
-rw-r--r-- | doc_src/cd.txt | 1 |
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 |