From bdf0a3df38ccb86850527e381926d074a886d275 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 26 Jul 2016 09:35:14 +0100 Subject: 38945: Additional notes on :a behaviour --- Doc/Zsh/expn.yo | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Doc/Zsh/expn.yo') 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 -- cgit 1.4.1