From: "Bart Schaefer" <schaefer@brasslantern.com>
To: Borsenkow Andrej <Andrej.Borsenkow@mow.siemens.ru>,
"'Zsh hackers list'" <zsh-workers@sunsite.dk>
Subject: Re: scp completion - garbled output
Date: Thu, 31 Jan 2002 15:26:54 +0000 [thread overview]
Message-ID: <1020131152654.ZM16901@candle.brasslantern.com> (raw)
In-Reply-To: <001201c1aa56$cec8cca0$21c9ca95@mow.siemens.ru>
On Jan 31, 3:57pm, Borsenkow Andrej wrote:
} Subject: scp completion - garbled output
}
} bor@cooker% scp -p itsrm2:tmp/bufzsh: no matches found: tmp/buf*
} zsh: no matches found: tmp/buf*
} zsh: no matches found: tmp/buf*
This is coming from _remote_files where it does (in a _wanted call):
$(ssh -a -x ${words[CURRENT]%:*} echo ${words[CURRENT]#*:}\*)
The message appears repeatedly because this gets tried once by each
function in your completer style.
The right thing appears to be to put 2>/dev/null inside the $(...).
But there will still be a problem if you have to type a password to get
ssh access to the remote host. It'd be nice if `zle redisplay' or the
equivalent would work from inside a completion widget.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
prev parent reply other threads:[~2002-01-31 15:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-31 12:57 Borsenkow Andrej
2002-01-31 15:26 ` Bart Schaefer [this message]
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=1020131152654.ZM16901@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=Andrej.Borsenkow@mow.siemens.ru \
--cc=zsh-workers@sunsite.dk \
/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).