Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH 2/3] Fix the ':A' word modifier on paths with '..' components.
- X-seq: zsh-workers 38654
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Subject: Re: [PATCH 2/3] Fix the ':A' word modifier on paths with '..' components.
- Date: Fri, 10 Jun 2016 20:54:43 +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=/msyhSGzjh1HXySfs9Or2250EBIAhBFlY9KidAksQDk=; b=uYq5hWnQIbK2qVrWoByPQByA6ighIVu+jV8/ttWszC91TpaLaCnOkox0hjRHshAovY AhoswSBSq+enRzoKux+0HlKdWfpIF1FeBke4cosEnblCPHWwFjov7fhz37nAs4zvRwrz dk8JGhMJGB/WsipcJaWqXOh7YDu6md9zUvOTtv9t5rYdQZuIMInrushuQ3QgsIoeZUcE L358kX7ZTcaYZm+V2YryaarLVwRBAnurK/UKzbYlaB2qUmT1P7lCINfX7Ko1YB1reNLH HdEwjBxb2luBk9P6L9NRnmlMiO1TYMLncxwMRpF3WkoRp1cvMOlQHeOQWsL6asY+a8yx lDKA==
- In-reply-to: <1465580184-3095-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: <1465580184-3095-1-git-send-email-danielsh@tarsus.local2> <1465580184-3095-2-git-send-email-danielsh@tarsus.local2>
On Fri, Jun 10, 2016 at 7:36 PM, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> The fix is to stop calling chabspath() at the top of chrealpath().
>
> Also remove an incorrect comment (passing a non-absolute path would have been
> fine because the chabspath() call would have made it absolute).
> ---
>
> This is an incompatible change; see the test and docs changes for details.
This seems pretty controversial, but I can see people wanting it
either way. See for example the chasedots / chaselinks options,
allowing the user to select which of these behaviors to use for the cd
builtin. I don't think this should be pushed without more discussion
at least.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author