Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
menu completion cleanup
- X-seq: zsh-workers 2781
- From: Zefram <zefram@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx (Z Shell workers mailing list)
- Subject: menu completion cleanup
- Date: Sat, 11 Jan 1997 22:14:30 +0000 (GMT)
-----BEGIN PGP SIGNED MESSAGE-----
My recent patch for removable suffixes makes invalidatelist() reset
lastambig. This means that the test of lastcmd when starting menu
completion with AUTO_MENU is no longer necessary.
-zefram
*** Src/Zle/zle_tricky.c 1997/01/11 17:59:12 1.10
--- Src/Zle/zle_tricky.c 1997/01/11 19:45:02
***************
*** 508,516 ****
/* Check if we have to start a menu-completion (via automenu). */
! if ((amenu = (isset(AUTOMENU) &&
! (lastcmd & ZLE_MENUCMP) &&
! lastambig)))
usemenu = 1;
/* Expand history references before starting completion. If anything *
--- 508,514 ----
/* Check if we have to start a menu-completion (via automenu). */
! if ((amenu = (isset(AUTOMENU) && lastambig)))
usemenu = 1;
/* Expand history references before starting completion. If anything *
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBMtfvbHD/+HJTpU/hAQFfggQAqBaWvQQ/X3qU6er/1MLpk0tlYVqOJ3Mn
pkMwgGv6a/GV2o7jjLFGCiFwMA0hujjKuW1z9X0qLe2km7EI8Fk18TO1vlGtOul9
NyAr3a572cJApzIOjNzY/R0Q6WZ0OJX+SRpAD1hzuWXgPt2nMUfBDkfGydWOlo6s
Eitk1PRbnJY=
=+zKq
-----END PGP SIGNATURE-----
Messages sorted by:
Reverse Date,
Date,
Thread,
Author