summaryrefslogtreecommitdiff
path: root/plugins/zsh-navigation-tools/n-history
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2016-01-18 15:16:48 +0100
committerMarc Cornellà <marc.cornella@live.com>2016-01-18 15:16:48 +0100
commit40016afdc4c4ecdab6092e4f8c5c8648e27e5524 (patch)
tree950eba1cf043e27a8c140962a6a432aed717a058 /plugins/zsh-navigation-tools/n-history
parent87e782f91e5c8fb3c33b58cdda265e65122a2520 (diff)
parent77f93f61c5ee6fea9131a1791bd3b106b4b8da4f (diff)
downloadzsh-40016afdc4c4ecdab6092e4f8c5c8648e27e5524.tar.gz
zsh-40016afdc4c4ecdab6092e4f8c5c8648e27e5524.tar.bz2
zsh-40016afdc4c4ecdab6092e4f8c5c8648e27e5524.zip
Merge pull request #4755 from psprint/master
znt: optimizations for zsh<=5.2
Diffstat (limited to 'plugins/zsh-navigation-tools/n-history')
-rw-r--r--plugins/zsh-navigation-tools/n-history2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/zsh-navigation-tools/n-history b/plugins/zsh-navigation-tools/n-history
index c9e53316b..9f1d6279b 100644
--- a/plugins/zsh-navigation-tools/n-history
+++ b/plugins/zsh-navigation-tools/n-history
@@ -42,7 +42,7 @@ if [ "$REPLY" -gt 0 ]; then
# ZLE?
if [ "${(t)CURSOR}" = "integer-local-special" ]; then
zle redisplay
- zle kill-whole-line
+ zle kill-buffer
zle -U "$selected"
else
print -zr "$selected"