Fix tag command, using IFS is a *bad* idea
This commit is contained in:
parent
3e797a3d15
commit
a6d73bb928
|
@ -12,8 +12,7 @@ def -shell-params \
|
||||||
%{ %sh{
|
%{ %sh{
|
||||||
export tagname=${1:-${kak_selection}}
|
export tagname=${1:-${kak_selection}}
|
||||||
(
|
(
|
||||||
IFS=':'
|
for tags in $(echo "${kak_opt_ctagsfiles}" | tr ':' '\n'); do
|
||||||
for tags in ${kak_opt_ctagsfiles}; do
|
|
||||||
readtags -t "${tags}" ${tagname}
|
readtags -t "${tags}" ${tagname}
|
||||||
done
|
done
|
||||||
) | awk -F '\t|\n' -e '
|
) | awk -F '\t|\n' -e '
|
||||||
|
|
Loading…
Reference in New Issue
Block a user