Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Remote scp completion that can handle spaces etc. in pathnames
- X-seq: zsh-users 5918
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Hannu Koivisto <azure@xxxxxx>
- Subject: Re: Remote scp completion that can handle spaces etc. in pathnames
- Date: Thu, 13 Feb 2003 17:12:49 +0100
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <87heb8p6e1.fsf@xxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <87d6lwqper.fsf@xxxxxxxxxxxxxxxx> <29391.1045147304@xxxxxxxxxxxxxxxxxxxx> <87heb8p6e1.fsf@xxxxxxxxxxxxxxxx>
- Sender: kiddleo@xxxxxxxxxx
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author