mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-12-29 07:34:11 +08:00
Merge pull request #304 from okdana/dana/no-beep
Avoid ringing bell when accepting suggestions
This commit is contained in:
commit
2202ed7bac
|
@ -106,7 +106,7 @@ _zsh_autosuggest_bind_widgets() {
|
|||
# Given the name of an original widget and args, invoke it, if it exists
|
||||
_zsh_autosuggest_invoke_original_widget() {
|
||||
# Do nothing unless called with at least one arg
|
||||
(( $# )) || return
|
||||
(( $# )) || return 0
|
||||
|
||||
local original_widget_name="$1"
|
||||
|
||||
|
|
|
@ -238,7 +238,7 @@ _zsh_autosuggest_bind_widgets() {
|
|||
# Given the name of an original widget and args, invoke it, if it exists
|
||||
_zsh_autosuggest_invoke_original_widget() {
|
||||
# Do nothing unless called with at least one arg
|
||||
(( $# )) || return
|
||||
(( $# )) || return 0
|
||||
|
||||
local original_widget_name="$1"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user