From 05fdf91fc5645018b2100917fa0be8d486e2ce39 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 3 Mar 2017 18:57:22 +0900 Subject: Revert "[zsh] emulate -L zsh to avoid issues with incompatible options" This reverts commit 3a6af27586c65bb9243c5af7c43a40619503db52. --- shell/completion.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell/completion.zsh') diff --git a/shell/completion.zsh b/shell/completion.zsh index ccd18ce6..9b9dba3e 100644 --- a/shell/completion.zsh +++ b/shell/completion.zsh @@ -46,7 +46,7 @@ __fzf_generic_path_completion() { tail=$6 fzf="$(__fzfcmd_complete)" - setopt nonomatch + setopt localoptions nonomatch dir="$base" while [ 1 ]; do if [[ -z "$dir" || -d ${~dir} ]]; then @@ -142,8 +142,8 @@ _fzf_complete_unalias() { } fzf-completion() { - emulate -L zsh local tokens cmd prefix trigger tail fzf matches lbuf d_cmds + setopt localoptions noshwordsplit noksh_arrays # http://zsh.sourceforge.net/FAQ/zshfaq03.html # http://zsh.sourceforge.net/Doc/Release/Expansion.html#Parameter-Expansion-Flags -- cgit v1.2.3