[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Configurable completion and complete -P (prefix)

From: Hans Meine
Subject: Configurable completion and complete -P (prefix)
Date: 21 Nov 2000 00:58:52 +0100
User-agent: Gnus/5.0806 (Gnus v5.8.6) XEmacs/21.1 (Capitol Reef)


I just tried read about the complete command in the bash-manpage and tried

  complete -A signal -P '-' kill

hoping that I could do:

  kill -SIG<tab>

However, bash currently uses the prefix only if I do

  kill SIG<tab>

ending up in

  kill -SIG<tab>

which in turn gives me no completions. :-( Thinking about this, is the -P
prefix thingy useful like this in other cases? I can't imagine one right now?
Never mind if this behaviour is intended, I am just curious if I can use
it like that in the future. ;-)

   /  /
 /  / ANS

/me continues exploring the manpage.. ;-)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]