Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
make history-complete-older do nothing on empty string
- X-seq: zsh-users 23340
- From: Vincent Bernat <bernat@xxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: make history-complete-older do nothing on empty string
- Date: Wed, 18 Apr 2018 07:21:35 +0200
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=luffy.cx; h=from:to :subject:date:message-id:mime-version:content-type; s=postfix; bh=cxZsp1sdVQ3FAzrFNhFH7eZy9/8=; b=AmAM7FgLTUPEKIPxOLlDE62OJ4yJ skomC8n90hmDMnhhlKS2nkX/BAZxT1Gt3VYDoIur1H8S65B53z1by8MuKkX2K0Yk cKvhJpKmPsc+dJL9nztEsjQYhOceeODcAqLRnHhFwzPCT69av6Cxt8S+BKTe5vHH UV0j0WObO1EnJh0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=luffy.cx; h=from:to:subject :date:message-id:mime-version:content-type; q=dns; s=postfix; b= nYRtW4OBywMojHydbYCVQ0M7wLWDKA40Zw0r1QB595Dc5VUQdiKOLqO7Ijg+lp/h jECPK1otf1+UYb1hj4W4pM9VA9o85X5L/wnx4NhrjunuQ00WV+qxRiiHKiO7faCA ciQKL/7mgSP+kRgyfG6AS5nUCpfnzydVUeJmXR2JYv8=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hey!
I sometime hit M-/ by error and this invokes history-complete-older
which then blocks when the current word is empty and it takes me 5-10
seconds to be able to "kill" it. Is there a way to teach this function
to not complete anything on empty (or one-char) input?
Thanks!
--
The abuse of greatness is when it disjoins remorse from power.
-- William Shakespeare, "Julius Caesar"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author