bug-bash
[Top][All Lists]
Advanced

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

Re: using perl's gnu-readline interface, howto 'completion' & 'filter hi


From: Andreas Schwab
Subject: Re: using perl's gnu-readline interface, howto 'completion' & 'filter history'?
Date: Fri, 09 Jan 2015 22:15:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Linda Walsh <bash@tlinx.org> writes:

> I have a little calculator interface that I use readline for.
> Imagine my surprise when I type 1+<TAB> and get a list of files
> to add to 1.  Um... not ideal?

The default completion function is filename completion.  If you want
something different you need to write your own.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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