Skip to content
Myr

[zsh/completion] don't unescape FZF_DEFAULT_OPTS (#4262)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Steve Williams · committed by GitHub · parent 91bc4f2 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:shell/completion.zsh+2 added-2 removed
97 unmodified lines
9899__fzf_defaults() {100 # $1: Prepend to FZF_DEFAULT_OPTS_FILE and FZF_DEFAULT_OPTS101 # $2: Append to FZF_DEFAULT_OPTS_FILE and FZF_DEFAULT_OPTS102 echo "--height ${FZF_TMUX_HEIGHT:-40%} --min-height 20+ --bind=ctrl-z:ignore $1"102 echo -E "--height ${FZF_TMUX_HEIGHT:-40%} --min-height 20+ --bind=ctrl-z:ignore $1"103 command cat "${FZF_DEFAULT_OPTS_FILE-}" 2> /dev/null104 echo "${FZF_DEFAULT_OPTS-} $2"104 echo -E "${FZF_DEFAULT_OPTS-} $2"105}106107__fzf_comprun() {108 if [[ "$(type _fzf_comprun 2>&1)" =~ function ]]; then
307 unmodified lines