summaryrefslogtreecommitdiffstats
path: root/Doc/Zsh/expn.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2016-07-26 09:35:14 +0100
committerPeter Stephenson <pws@zsh.org>2016-07-26 09:35:14 +0100
commitbdf0a3df38ccb86850527e381926d074a886d275 (patch)
treeec712afd9c6570231333442322afc50f5649bdbf /Doc/Zsh/expn.yo
parent38943: update texinfo options and improve completion of Info files, nodes and... (diff)
downloadzsh-bdf0a3df38ccb86850527e381926d074a886d275.tar
zsh-bdf0a3df38ccb86850527e381926d074a886d275.tar.gz
zsh-bdf0a3df38ccb86850527e381926d074a886d275.tar.bz2
zsh-bdf0a3df38ccb86850527e381926d074a886d275.tar.lz
zsh-bdf0a3df38ccb86850527e381926d074a886d275.tar.xz
zsh-bdf0a3df38ccb86850527e381926d074a886d275.tar.zst
zsh-bdf0a3df38ccb86850527e381926d074a886d275.zip
38945: Additional notes on :a behaviour
Diffstat (limited to 'Doc/Zsh/expn.yo')
-rw-r--r--Doc/Zsh/expn.yo10
1 files changed, 7 insertions, 3 deletions
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo
index 0ed320bb4..ca4b94f5e 100644
--- a/Doc/Zsh/expn.yo
+++ b/Doc/Zsh/expn.yo
@@ -222,9 +222,13 @@ Turn a file name into an absolute path: prepends the current directory,
if necessary; remove `tt(.)' path segments; and remove `tt(..)' path segments
and the segments that immediately precede them.
-This transformation is agnostic of the filesystem: `tt(/foo/bar/../baz)' shall
-always be transformed to `tt(/foo/baz)', regardless of whether `tt(/foo)'
-exists or what kind of object (dir, file, symlink, etc.) it is.
+This transformation is agnostic about what is in the filesystem, i.e. is
+on the logical, not the physical directory. It takes place in the same
+manner as when changing directories when neither of the options
+tt(CHASE_DOTS) or tt(CHASE_LINKS) is set. For example,
+`tt(/before/here/../after)' is always transformed to
+`tt(/before/after)', regardless of whether `tt(/before/here)' exists or what
+kind of object (dir, file, symlink, etc.) it is.
)
item(tt(A))(
Turn a file name into an absolute path as the `tt(a)' modifier does, and