mirror of
https://github.com/zsh-users/zsh-history-substring-search
synced 2024-09-20 16:19:04 +02:00
use 0 instead of true in returns
This commit is contained in:
parent
a23cfbb11f
commit
c61c9956c4
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue