Compare commits
6 Commits
80037a2e5b
...
71e7467138
Author | SHA1 | Date |
---|---|---|
|
71e7467138 | |
|
85919cd1ff | |
|
dc8dcf7425 | |
|
da75fc226d | |
|
a00927c673 | |
|
aac4c80bfc |
|
@ -17,8 +17,9 @@
|
|||
| Arch Linux / Manjaro / Antergos / Hyperbola | [zsh-autosuggestions](https://www.archlinux.org/packages/zsh-autosuggestions), [zsh-autosuggestions-git](https://aur.archlinux.org/packages/zsh-autosuggestions-git) |
|
||||
| NixOS | [zsh-autosuggestions](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/zs/zsh-autosuggestions/package.nix) |
|
||||
| Void Linux | [zsh-autosuggestions](https://github.com/void-linux/void-packages/blob/master/srcpkgs/zsh-autosuggestions/template) |
|
||||
| Mac OS | [homebrew](https://github.com/Homebrew/homebrew-core/blob/master/Formula/z/zsh-autosuggestions.rb) |
|
||||
| Mac OS | [homebrew](https://formulae.brew.sh/formula/zsh-autosuggestions) |
|
||||
| NetBSD | [pkgsrc](http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/shells/zsh-autosuggestions/README.html) |
|
||||
| FreeBSD | [pkg](https://cgit.freebsd.org/ports/tree/shells/zsh-autosuggestions) |
|
||||
|
||||
## Antigen
|
||||
|
||||
|
|
|
@ -197,10 +197,15 @@ _zsh_autosuggest_bind_widgets() {
|
|||
|
||||
local widget
|
||||
local ignore_widgets
|
||||
local bcompwidgets
|
||||
|
||||
# don't want to ignore bound completion widgets
|
||||
# user can manually override this using ZSH_AUTOSUGGEST_IGNORE_WIDGETS
|
||||
bcompwidgets=${(j:|:)${(M)${${(f)"$(builtin bindkey)"}##*[[:space:]]##}:#_*}}
|
||||
|
||||
ignore_widgets=(
|
||||
.\*
|
||||
_\*
|
||||
_^\(${bcompwidgets}\)
|
||||
${_ZSH_AUTOSUGGEST_BUILTIN_ACTIONS/#/autosuggest-}
|
||||
$ZSH_AUTOSUGGEST_ORIGINAL_WIDGET_PREFIX\*
|
||||
$ZSH_AUTOSUGGEST_IGNORE_WIDGETS
|
||||
|
|
Loading…
Reference in New Issue