1
0
mirror of https://github.com/samoshkin/tmux-config.git synced 2026-01-03 00:08:01 +00:00

Fix yank.sh. Use printf %s placeholder to avoid copied text being interpreted as printf arguments

This commit is contained in:
Alexey Samoshkin
2017-12-06 21:25:47 +02:00
parent 2f132f54dc
commit d3661c13d6

View File

@@ -28,7 +28,7 @@ fi
# if copy backend is resolved, copy and exit
if [ -n "$copy_backend" ]; then
printf "$buf" | eval "$copy_backend"
printf "%s" "$buf" | eval "$copy_backend"
exit;
fi