From c61c9956c4b56b4c5363eed6aca653c453764b42 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Wed, 28 Mar 2012 11:03:59 -0400 Subject: [PATCH] use 0 instead of true in returns --- zsh-history-substring-search.zsh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zsh-history-substring-search.zsh b/zsh-history-substring-search.zsh index 3304263..12d3272 100644 --- a/zsh-history-substring-search.zsh +++ b/zsh-history-substring-search.zsh @@ -303,7 +303,7 @@ function _history-substring-search-up-buffer() { if [[ $#buflines -gt 1 && $CURSOR -ne $#BUFFER && $#xlbuflines -ne 1 ]]; then zle up-line-or-history - return true + return 0 fi false @@ -332,7 +332,7 @@ function _history-substring-search-down-buffer() { if [[ $#buflines -gt 1 && $CURSOR -ne $#BUFFER && $#xrbuflines -ne 1 ]]; then zle down-line-or-history - return true + return 0 fi false @@ -354,7 +354,7 @@ function _history-substring-search-up-history() { zle up-line-or-history fi - return true + return 0 fi false @@ -377,7 +377,7 @@ function _history-substring-search-down-history() { zle down-line-or-history fi - return true + return 0 fi false