Skip to content
Snippets Groups Projects
Commit 935e986b authored by Junegunn Choi's avatar Junegunn Choi
Browse files

[zsh] Remove unnecessary evals

parent e5ac2ebd
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ fzf-completion() {
# http://zsh.sourceforge.net/Doc/Release/Expansion.html#Parameter-Expansion-Flags
tokens=(${(z)LBUFFER})
if [ ${#tokens} -lt 1 ]; then
eval "zle ${fzf_default_completion:-expand-or-complete}"
zle ${fzf_default_completion:-expand-or-complete}
return
fi
......@@ -180,7 +180,7 @@ fzf-completion() {
fi
# Fall back to default completion
else
eval "zle ${fzf_default_completion:-expand-or-complete}"
zle ${fzf_default_completion:-expand-or-complete}
fi
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment