Skip to content

Commit

Permalink
[zsh/completion] don't escape FZF_DEFAULT_OPTS
Browse files Browse the repository at this point in the history
  • Loading branch information
Lompik authored Feb 20, 2025
1 parent 91bc4f2 commit 0dff882
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shell/completion.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ if [[ -o interactive ]]; then
__fzf_defaults() {
# $1: Prepend to FZF_DEFAULT_OPTS_FILE and FZF_DEFAULT_OPTS
# $2: Append to FZF_DEFAULT_OPTS_FILE and FZF_DEFAULT_OPTS
echo "--height ${FZF_TMUX_HEIGHT:-40%} --min-height 20+ --bind=ctrl-z:ignore $1"
echo -E "--height ${FZF_TMUX_HEIGHT:-40%} --min-height 20+ --bind=ctrl-z:ignore $1"
command cat "${FZF_DEFAULT_OPTS_FILE-}" 2> /dev/null
echo "${FZF_DEFAULT_OPTS-} $2"
echo -E "${FZF_DEFAULT_OPTS-} $2"
}

__fzf_comprun() {
Expand Down

0 comments on commit 0dff882

Please # to comment.