Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Magic-Backspace



Hi,

I thought of implementing some magic-backspace that removes characters
until the 'current' completion is ambiguous (i.e. some extended version
of undo).

For example, if I type

	autoconf

and press 'magic-backspace' it would result in

	auto

The problem I'm facing is that I can not find out if the current
completion is ambiguous. Is this possible at all?

(I've tried to abuse complete-word and friends, but without success).


Regards
Pascal


Attachment: signature.asc
Description: OpenPGP digital signature



Messages sorted by: Reverse Date, Date, Thread, Author