Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
scp completion options
- X-seq: zsh-users 23507
- From: David Woodfall <dave@xxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: scp completion options
- Date: Wed, 27 Jun 2018 00:06:54 +0100
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mail-followup-to: Zsh Users <zsh-users@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi
When I tab complete a scp command such as:
scp somefile host:somefolder<tab>
I will always get the current local directory as the first completion
option if it is any way similar to the name of the remote. Is there a
way to stop that behaviour and list remote directories first if I'm
scp'ing /to/ a host? In fact I will always have the local directory
listed whatever I do.
I've tried setting some directory order in a completion but I'm not
sure I got it right. It didn't change anything anyway.
Any help on making scp completion smarter would be appreciated.
-Dave
--
There are no threads in a.b.p.erotica, so there's no gain in using a
threaded news reader.
-- unknown source
.--. oo
(____)//
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
Messages sorted by:
Reverse Date,
Date,
Thread,
Author