zsh-workers
 help / color / mirror / code / Atom feed
* completion control
@ 1997-12-25 23:00 Tuomo Pyhala
  0 siblings, 0 replies; only message in thread
From: Tuomo Pyhala @ 1997-12-25 23:00 UTC (permalink / raw)
  To: zsh-workers


I was trying to set up completion control for scp like this
% compctl
scp -f -x 'n[1,:]' -K RemoteFileList - 'p[1,1]' -k '(tuomo@jymy: tupyhala@zonex.cop.fi:)'
i defined function like this
function RemoteFileList { hname=`echo $1 | cut -f2 -d '@'`; reply=(`ssh
$hname ls`); echo - $1 - $2 -}
[last echo for debigging purposes]. It seems that function isn't getting
parameters as it is told in man page. Is this a bug, or is it feature? If
i have misunderstood documentation could me point me how to do this then.

I'm running zsh shipped with RH4.2 (3.0.2) on Linux-i586.

TIA



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-12-25 23:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-25 23:00 completion control Tuomo Pyhala

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).