From: Peter Stephenson <p.stephenson@samsung.com>
To: Zsh Hackers' List <zsh-workers@zsh.org>
Subject: PATCH: updated :a tweak
Date: Mon, 25 Jul 2016 12:13:39 +0100 [thread overview]
Message-ID: <20160725121339.06ed2ef1@pwslap01u.europe.root.pri> (raw)
This combines the latest tweaks...
pws
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo
index 0ed320b..02177cb 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 phyiscal 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
next reply other threads:[~2016-07-25 11:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-25 11:13 Peter Stephenson [this message]
2016-07-25 11:24 ` Mikael Magnusson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160725121339.06ed2ef1@pwslap01u.europe.root.pri \
--to=p.stephenson@samsung.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).