From: Tuomo Pyhala <tuomo@lesti.kpnet.fi>
To: zsh-workers@math.gatech.edu
Subject: completion control
Date: Fri, 26 Dec 1997 01:00:15 +0200 (EET) [thread overview]
Message-ID: <Pine.LNX.3.95.971225225101.4915A-100000@jymy.lesti.kpnet.fi> (raw)
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
reply other threads:[~1997-12-25 23:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=Pine.LNX.3.95.971225225101.4915A-100000@jymy.lesti.kpnet.fi \
--to=tuomo@lesti.kpnet.fi \
--cc=zsh-workers@math.gatech.edu \
/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).