From 4f07632ac0e66fd3889a47bf8eb424d61de1afb5 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 26 Jan 2016 06:32:23 +0000 Subject: [PATCH] Add missing quoting in clang.kak --- rc/clang.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/clang.kak b/rc/clang.kak index 5e55c69a..16150eac 100644 --- a/rc/clang.kak +++ b/rc/clang.kak @@ -125,7 +125,7 @@ def clang-disable-autocomplete -docstring "Disable automatic clang completion" % def -allow-override -hidden clang-show-error-info %{ %sh{ printf %s "${kak_opt_clang_errors}" | grep "^${kak_cursor_line},.*" | if read line; then - desc=$(printf %s ${line} | sed -e "s/^[[:digit:]]\+,//g; s/'/\\\\'/g") + desc=$(printf %s "${line}" | sed -e "s/^[[:digit:]]\+,//g; s/'/\\\\'/g") echo "info -anchor ${kak_cursor_line}.${kak_cursor_column} '${desc}'" fi } }