zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Re: [PATCH] Functions/Misc/relative: use -q with cd
Date: Thu, 22 Jun 2017 16:39:03 -0700	[thread overview]
Message-ID: <170622163903.ZM14345@torch.brasslantern.com> (raw)
In-Reply-To: <173fb4eb-4df7-a99d-7c49-9afca89b22bf@thequod.de>

On Jun 22, 10:32pm, Daniel Hahler wrote:
}
} After looking closer at it, I think it would be better if it would
} work with non-existing files/dirs instead.

Changing $(cd $1; pwd -r) to ${1:P} would fix that, too, provided that
you also remove the is-a-directory checks on line 7.


      reply	other threads:[~2017-06-22 23:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-27 20:35 Daniel Hahler
2017-04-29 17:07 ` Daniel Shahaf
2017-04-29 19:47   ` Bart Schaefer
2017-06-22 20:32   ` Daniel Hahler
2017-06-22 23:39     ` Bart Schaefer [this message]

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=170622163903.ZM14345@torch.brasslantern.com \
    --to=schaefer@brasslantern.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).