about summary refs log tree commit diff
path: root/Src/lex.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2016-06-22 14:03:38 +0100
committerPeter Stephenson <pws@zsh.org>2016-06-22 14:03:38 +0100
commit7ae2deb4378d50d81774e73c2574375a0f934797 (patch)
treecf1985be8f28d804b23121a12a9f5014851c4a66 /Src/lex.c
parent954cdd77d77136e572fc4896f3c0ba16f5c933ec (diff)
downloadzsh-7ae2deb4378d50d81774e73c2574375a0f934797.tar.gz
zsh-7ae2deb4378d50d81774e73c2574375a0f934797.tar.xz
zsh-7ae2deb4378d50d81774e73c2574375a0f934797.zip
unposted: remove flag unneded from previous fix
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);