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

yank.sh, fix use of 'eval $copy_backend' to avoid losing characters

This commit is contained in:
Alexey Samoshkin
2017-11-24 17:33:39 +02:00
parent ef942250ec
commit 572dcfcd8c

View File

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