Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: completions for su and implicit fg/bg
- X-seq: zsh-workers 7104
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: completions for su and implicit fg/bg
- Date: Mon, 12 Jul 1999 16:29:10 +0200
- In-reply-to: "Sven Wischnowsky"'s message of "Mon, 12 Jul 1999 14:11:29 DFT." <199907121211.OAA18745@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Sven Wischnowsky wrote:
> Peter Stephenson wrote:
> > Just trying compset -q to enhance completion for *sh -c:
OK, the next problem seems to be that using ^D removes the quotes, although
other completion functions don't. I'm using
#compdef sh ksh bash zsh csh tcsh rc
local cword=
if (( CURRENT == ${words[(i)-c]} + 1 )); then
compset -q
_normal
fi
and typing
% sh -c 'e^D
but what follows the open quote doesn't seem to matter.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author