Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH v2 2/3] Fix the ':A' word modifier on paths with '..' components.
- X-seq: zsh-workers 38730
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Subject: Re: [PATCH v2 2/3] Fix the ':A' word modifier on paths with '..' components.
- Date: Tue, 21 Jun 2016 05:08:16 +0200
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=gqejHA/FQ1fBTunkFZ6mzJtifT0UKbGUT8DmjWIn6RU=; b=uWtFRWjGcp4TNStO8Zd1Mz5aUha+MEfr1rEwkEYC3ByP1vTSznqCvWui3TY9ek19Y3 P9zH9HShnP1vtFBaXWeMEGmoFgpr7MT6GwNLZrj/xKCjAdq0yn0912A6yYoh3wheMXlB ds3wHn1WuZeX9ilhxZRcS1KSoxv+7Nv9wDdxqDvA4Dx4GvtaYBEZ9lUPsmCYBo5FbDHw ANawcd4xrvQlfQyfeX044C0mnqejVeGGxZC+KrxeCRV5Sv9icUGvX2rWg3hN4JxKKm4J GAXiUn6EWPQbK30n0NujoPtXvwgrGFoJSU5a3mzT1NOoue8MKKdtepdWI6U++Upbj5Ze JLQQ==
- In-reply-to: <1466474004-4669-2-git-send-email-danielsh@tarsus.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20160613085218.GA9572@tarsus.local2> <1466474004-4669-1-git-send-email-danielsh@tarsus.local2> <1466474004-4669-2-git-send-email-danielsh@tarsus.local2>
On Tue, Jun 21, 2016 at 3:53 AM, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> The fix is to stop calling chabspath() at the top of chrealpath().
>
> Preserve the old behaviour when CHASE_DOTS is set.
I think this is backwards, cd symlink/.. gets you to the current dir
if chasedots is unset, and to wherever symlink points' parent
directory when it is set.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author