From: David Woodfall <dave@dawoodfall.net>
To: Zsh Users <zsh-users@zsh.org>
Subject: scp completion options
Date: Wed, 27 Jun 2018 00:06:54 +0100 [thread overview]
Message-ID: <20180626230654.GK11049@blackswan> (raw)
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
(____)//
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
next reply other threads:[~2018-06-26 23:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20180626231957epcas4p275197b8b1b133496936cd1e2a59d15b6@epcas4p2.samsung.com>
2018-06-26 23:06 ` David Woodfall [this message]
2018-06-27 8:15 ` Peter Stephenson
2018-06-27 10:13 ` David Woodfall
2018-06-28 8:38 ` Peter Stephenson
2018-06-28 20:14 ` David Woodfall
2018-06-28 20:26 ` Bart Schaefer
2018-06-28 20:56 ` David Woodfall
2018-06-29 0:31 ` Bart Schaefer
2018-06-29 2:31 ` David Woodfall
2018-08-20 14:51 ` David Woodfall
[not found] ` <20180627091514.22955a04@camnpupstephen.cam.scsc.local>
2018-06-29 8:33 ` Peter Stephenson
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=20180626230654.GK11049@blackswan \
--to=dave@dawoodfall.net \
--cc=zsh-users@zsh.org \
/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).