We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e037187 commit 6ebf0c3Copy full SHA for 6ebf0c3
fzf-tab.zsh
@@ -51,7 +51,7 @@ builtin unalias -m '[^+]*'
51
[[ -n $expl ]] && _ftb_groups+=$expl
52
53
# store these values in _ftb_compcap
54
- local -a keys=(apre hpre PREFIX SUFFIX IPREFIX ISUFFIX)
+ local -a _ftb_compcap_keys=(apre hpre PREFIX SUFFIX IPREFIX ISUFFIX)
55
local key expanded __tmp_value=$'<\0>' # placeholder
56
57
# Shadow PREFIX locally so we can modify it for fzf-tab capture
@@ -82,7 +82,7 @@ builtin unalias -m '[^+]*'
82
fi
83
84
85
- for key in $keys; do
+ for key in $_ftb_compcap_keys; do
86
# (P)key fetches the value of the variable named by $key.
87
# Since we declared 'local PREFIX' above, this fetches the sanitized version of PREFIX.
88
expanded=${(P)key}
0 commit comments