mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-24 20:13:00 +03:00
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{
|
||||
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 '
|
||||
|
Loading…
Reference in New Issue
Block a user