prevent beeps when navigating multi-line commands
`man zshzle` at the "zle widget" section: A non-zero return status causes the shell to beep when the widget exits, unless the BEEP options was unset or the widget was called via the zle command. Thus if a user defined widget requires an immediate beep, it should call the beep widget directly. https://github.com/robbyrussell/oh-my-zsh/pull/215#issuecomment-1328406
This commit is contained in:
parent
d655da70a8
commit
f9a4c753af
1 changed files with 2 additions and 0 deletions
|
|
@ -112,6 +112,8 @@ history-substring-search-end() {
|
||||||
# for debugging purposes:
|
# for debugging purposes:
|
||||||
#zle -R "mn: "$history_substring_search_match_number" m#: "${#history_substring_search_matches}
|
#zle -R "mn: "$history_substring_search_match_number" m#: "${#history_substring_search_matches}
|
||||||
#read -k -t 200 && zle -U $REPLY
|
#read -k -t 200 && zle -U $REPLY
|
||||||
|
|
||||||
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
history-substring-search-backward() {
|
history-substring-search-backward() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue