Fix tag command, using IFS is a *bad* idea

This commit is contained in:
Maxime Coste 2014-10-23 19:25:39 +01:00
parent 3e797a3d15
commit a6d73bb928

View File

@ -12,8 +12,7 @@ def -shell-params \
%{ %sh{
export tagname=${1:-${kak_selection}}
(
IFS=':'
for tags in ${kak_opt_ctagsfiles}; do
for tags in $(echo "${kak_opt_ctagsfiles}" | tr ':' '\n'); do
readtags -t "${tags}" ${tagname}
done
) | awk -F '\t|\n' -e '