1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-01 06:20:55 +01:00

39945: allow further tab presses to move on to menu completion even when compstate[insert] is emptied

This commit is contained in:
Oliver Kiddle 2016-11-16 09:42:49 +01:00
parent 98b7960c78
commit 7d2f805008
4 changed files with 70 additions and 1 deletions

View file

@ -18,7 +18,8 @@ if [[ "$1" = -e ]]; then
ret=0
done
(( $compstate[nmatches] )) || compstate[insert]=
(( ! $compstate[nmatches] )) && [[ $compstate[insert] = *unambiguous* ]] &&
compstate[insert]=
return ret
fi