zsh-workers
 help / color / mirror / code / Atom feed
From: Zefram <zefram@tao.co.uk>
To: borsenkow.msk@sni.de (Andrej Borsenkow)
Cc: zefram@tao.co.uk, zsh-workers@math.gatech.edu
Subject: Re: Completion bug with `pwd`?
Date: Tue, 23 Jun 1998 15:44:02 +0100 (BST)	[thread overview]
Message-ID: <199806231444.PAA11116@taos.demon.co.uk> (raw)
In-Reply-To: <027101bd9eb2$ac90f3f0$21c9ca95@mow.sni.de> from "Andrej Borsenkow" at Jun 23, 98 06:24:45 pm

Andrej Borsenkow wrote:
>What is the correct way to do the above? (There are several commands which
>insists on having the absolute pathname).

Use "$PWD" or "~+" instead of "`pwd`".  It is possible to perform pathname
completion leaving pathname expansions and parameter expansions in the
word, where command substitutions must be expanded.  It also saves a
process (and some time) and avoids the ambiguity of command substitution.

-zefram


  reply	other threads:[~1998-06-23 14:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-23 14:24 Andrej Borsenkow
1998-06-23 14:44 ` Zefram [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-06-23 13:52 Andrej Borsenkow
1998-06-23 14:16 ` Zefram

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=199806231444.PAA11116@taos.demon.co.uk \
    --to=zefram@tao.co.uk \
    --cc=borsenkow.msk@sni.de \
    --cc=zsh-workers@math.gatech.edu \
    /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).