Browse Source

Merge pull request #304 from okdana/dana/no-beep

Avoid ringing bell when accepting suggestions
pull/319/head
Eric Freese 6 years ago
committed by GitHub
parent
commit
2202ed7bac
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/bind.zsh
  2. +1
    -1
      zsh-autosuggestions.zsh

+ 1
- 1
src/bind.zsh View File

@ -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"

+ 1
- 1
zsh-autosuggestions.zsh View File

@ -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…
Cancel
Save