summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-04-27 08:58:34 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-04-27 08:58:34 +0000
commit443d873258f7749c32813073dc8b508ab6f08a7a (patch)
tree0ebd880831d5d071df91b6c7c20a7d1979a2cc35 /Src
parent5d77927ffde695fb659af9d1ce3fb9df5a795179 (diff)
downloadzsh-443d873258f7749c32813073dc8b508ab6f08a7a.tar.gz
zsh-443d873258f7749c32813073dc8b508ab6f08a7a.tar.xz
zsh-443d873258f7749c32813073dc8b508ab6f08a7a.zip
27926: fix completion suffix when inserting last word
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/zle_hist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/Zle/zle_hist.c b/Src/Zle/zle_hist.c
index 241ef419e..d9586b832 100644
--- a/Src/Zle/zle_hist.c
+++ b/Src/Zle/zle_hist.c
@@ -634,6 +634,7 @@ insertlastword(char **args)
 	}
     }
 
+    fixsuffix();
     metafy_line();
     if (lastinsert && lastlen &&
 	lastpos <= zlemetacs &&