* PATCH: updated :a tweak
@ 2016-07-25 11:13 Peter Stephenson
2016-07-25 11:24 ` Mikael Magnusson
0 siblings, 1 reply; 2+ messages in thread
From: Peter Stephenson @ 2016-07-25 11:13 UTC (permalink / raw)
To: Zsh Hackers' List
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PATCH: updated :a tweak
2016-07-25 11:13 PATCH: updated :a tweak Peter Stephenson
@ 2016-07-25 11:24 ` Mikael Magnusson
0 siblings, 0 replies; 2+ messages in thread
From: Mikael Magnusson @ 2016-07-25 11:24 UTC (permalink / raw)
To: Peter Stephenson; +Cc: Zsh Hackers' List
On Mon, Jul 25, 2016 at 1:13 PM, Peter Stephenson
<p.stephenson@samsung.com> wrote:
> 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
physical
--
Mikael Magnusson
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-25 11:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-25 11:13 PATCH: updated :a tweak Peter Stephenson
2016-07-25 11:24 ` Mikael Magnusson
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).