Skip to content

Commit 6ebf0c3

Browse files
committed
Fix: Embed fix from Aloxaf/pull/558
1 parent e037187 commit 6ebf0c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fzf-tab.zsh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ builtin unalias -m '[^+]*'
5151
[[ -n $expl ]] && _ftb_groups+=$expl
5252

5353
# store these values in _ftb_compcap
54-
local -a keys=(apre hpre PREFIX SUFFIX IPREFIX ISUFFIX)
54+
local -a _ftb_compcap_keys=(apre hpre PREFIX SUFFIX IPREFIX ISUFFIX)
5555
local key expanded __tmp_value=$'<\0>' # placeholder
5656

5757
# Shadow PREFIX locally so we can modify it for fzf-tab capture
@@ -82,7 +82,7 @@ builtin unalias -m '[^+]*'
8282
fi
8383
fi
8484

85-
for key in $keys; do
85+
for key in $_ftb_compcap_keys; do
8686
# (P)key fetches the value of the variable named by $key.
8787
# Since we declared 'local PREFIX' above, this fetches the sanitized version of PREFIX.
8888
expanded=${(P)key}

0 commit comments

Comments
 (0)