zsh-users
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: Hannu Koivisto <azure@iki.fi>
Cc: zsh-users@sunsite.dk
Subject: Re: Remote scp completion that can handle spaces etc. in pathnames
Date: Thu, 13 Feb 2003 17:12:49 +0100	[thread overview]
Message-ID: <1815.1045152769@finches.logica.co.uk> (raw)
In-Reply-To: <87heb8p6e1.fsf@lynx.ionific.com>

Hannu Koivisto wrote:
> 
> Thanks!  It applied to 4.0.4 just fine.  However, I needed 
> an additional modification to make it work with filenames such as
> ``[foo bar* |'' -- * and | didn't appear at all without this
> modification.  I wonder if this breaks something elsewhere?  See
> the modification below, within your patch.

The completion for ssh uses ls -F on the remote machine to get the files
and then takes trailing *, =, |, / and @ characters to be the characters
added by ls -F to indicate the type of the file. I don't tend to have
file names ending in those characters and find it useful that it does
this. The ssh completion should perhaps honour the list_types style but
it'd still need ls -F to be able to do add `/' suffixes for directories.

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:[~2003-02-13 16:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-13 13:30 Hannu Koivisto
2003-02-13 14:41 ` Oliver Kiddle
2003-02-13 15:06   ` Hannu Koivisto
2003-02-13 16:12     ` Oliver Kiddle [this message]
2003-02-17  9:18       ` Hannu Koivisto

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=1815.1045152769@finches.logica.co.uk \
    --to=okiddle@yahoo.co.uk \
    --cc=azure@iki.fi \
    --cc=zsh-users@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).