summaryrefslogtreecommitdiff
path: root/plugins/zsh-navigation-tools/n-history
diff options
context:
space:
mode:
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"