Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

scp completion options



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