zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: "Thomas Köhler" <jean-luc@picard.franken.de>
Cc: zsh-workers@sunsite.dk
Subject: Re: scp completion
Date: Tue, 3 Sep 2002 17:24:18 +0100	[thread overview]
Message-ID: <20020903162418.GA26930@logica.com> (raw)
In-Reply-To: <20020903152023.GA8799@picard.franken.de>

On Tue, Sep 03, 2002 at 05:20:23PM +0200, Thomas Köhler wrote:

> +        _remote_files ${(kv)opt_args[(I)-[FP1246]]/-P/-p} && ret=0

> Now - scp completion didn't work for me - until I used
> 
>    scp -F /home/jean-luc/.ssh/config.special -P 2222 tkoehler@localhost:
> 
> instead of
> 
>    scp -F ~/.ssh/config.special -P 2222 tkoehler@localhost:
> 
> How can I avoid the "~" problem?

For the above line, you need:
  _remote_files ${(kv)~opt_args[(I)-[FP1246]]/-P/-p} && ret=0

The difference being the `~' before opt_args which turns on glob_subst
for the evaluation.

I'll commit the patch with this addition.

Oliver

This e-mail and any attachment is for authorised use by the intended recipient(s) only.  It may contain proprietary material, confidential information and/or be subject to legal privilege.  It should not be copied, disclosed to, retained or used by, any other party.  If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.  Thank you.


      reply	other threads:[~2002-09-04  8:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-02 16:37 Thomas Köhler
2002-09-03  9:02 ` Oliver Kiddle
2002-09-03 15:10   ` Thomas Köhler
2002-09-03 15:20     ` Thomas Köhler
2002-09-03 16:24       ` Oliver Kiddle [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=20020903162418.GA26930@logica.com \
    --to=okiddle@yahoo.co.uk \
    --cc=jean-luc@picard.franken.de \
    --cc=zsh-workers@sunsite.dk \
    /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).