소스 검색

Merge aac4c80bfc into c3d4e576c9

pull/718/merge
shadarim 1 년 전
committed by GitHub
부모
커밋
7bd4c77003
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일9개의 추가작업 그리고 4개의 파일을 삭제
  1. +9
    -4
      zsh-autosuggestions.zsh

+ 9
- 4
zsh-autosuggestions.zsh 파일 보기

@ -3,7 +3,7 @@
# v0.7.0
# Copyright (c) 2013 Thiago de Arruda
# Copyright (c) 2016-2021 Eric Freese
#
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
@ -12,10 +12,10 @@
# copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following
# conditions:
#
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
@ -195,10 +195,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

불러오는 중...
취소
저장