Commit 5b9728b5 authored by Tim Allen's avatar Tim Allen

Quote the parameter we pass to printf.

This probably wouldn't have caused a problem when we used echo,
but now we use printf any whitespace in `$XDG_DATA_HOME` or `$HOME`
would make a mess.
parent 2a25f510
......@@ -10,7 +10,7 @@ declare-option \
str \
state_save_path \
%sh{
printf "%s\n" ${XDG_DATA_HOME:-$HOME/.local/share/}/kak/state-save/
printf "%s\n" "${XDG_DATA_HOME:-$HOME/.local/share/}/kak/state-save/"
}
# An option to exclude particular files from having their state saved.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment