about summary refs log tree commit diff
path: root/Src/lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/lex.c')
-rw-r--r--Src/lex.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Src/lex.c b/Src/lex.c
index 5ad3474fe..6b20e14b5 100644
--- a/Src/lex.c
+++ b/Src/lex.c
@@ -1842,8 +1842,7 @@ checkalias(void)
 	if ((suf = strrchr(zshlextext, '.')) && suf[1] &&
 	    suf > zshlextext && suf[-1] != Meta &&
 	    (an = (Alias)sufaliastab->getnode(sufaliastab, suf+1)) &&
-	    !an->inuse && incmdpos &&
-	    !(inbufflags & INP_ALSUFF)) {
+	    !an->inuse && incmdpos) {
 	    inpush(dupstring(zshlextext), INP_ALIAS, an);
 	    inpush(" ", INP_ALIAS, NULL);
 	    inpush(an->text, INP_ALIAS, NULL);