Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion bug with `pwd`?
- X-seq: zsh-workers 4154
- From: Zefram <zefram@xxxxxxxxx>
- To: borsenkow.msk@xxxxxx (Andrej Borsenkow)
- Subject: Re: Completion bug with `pwd`?
- Date: Tue, 23 Jun 1998 15:44:02 +0100 (BST)
- Cc: zefram@xxxxxxxxx, zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <027101bd9eb2$ac90f3f0$21c9ca95@xxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author