diff options
Diffstat (limited to 'dot-oh-my-zsh/custom/plugins/zsh-autocomplete/functions/.autocomplete.zle-flags')
| m--------- | dot-oh-my-zsh | 0 | ||||
| -rw-r--r-- | dot-oh-my-zsh/custom/plugins/zsh-autocomplete/functions/.autocomplete.zle-flags | 32 |
2 files changed, 0 insertions, 32 deletions
diff --git a/dot-oh-my-zsh b/dot-oh-my-zsh new file mode 160000 +Subproject 6fe84bf5c82da7b1f6d7c5ec3e5c447721ac8ce diff --git a/dot-oh-my-zsh/custom/plugins/zsh-autocomplete/functions/.autocomplete.zle-flags b/dot-oh-my-zsh/custom/plugins/zsh-autocomplete/functions/.autocomplete.zle-flags deleted file mode 100644 index 3080ca90..00000000 --- a/dot-oh-my-zsh/custom/plugins/zsh-autocomplete/functions/.autocomplete.zle-flags +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/zsh -typeset -gH _autocomplete__last_widget= - -.autocomplete.zle-flags() { - emulate -L zsh - setopt $_autocomplete__func_opts[@] - - # If no arg, assume same widget as last time. - [[ -v 1 && -n $1 ]] && - typeset -gH _autocomplete__last_widget="$1" - - # Return 0 to continue, 1 to abort. - case $_autocomplete__last_widget in - ( *kill-*~vi-* ) - builtin zle -f kill - return 0 - ;; - ( *yank*~vi-* | vi-*put-*after | bracketed-paste ) - builtin zle -f yank - return 1 - ;; - ( vi-*put-*before ) - builtin zle -f yankbefore - return 1 - ;; - ( * ) - return 0 - ;; - esac -} - -.autocomplete.zle-flags "$@" |
