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:
@@ -23,7 +23,7 @@ fi
|
|||||||
|
|
||||||
# if copy backend is resolved, copy and exit
|
# if copy backend is resolved, copy and exit
|
||||||
if [ -n "$copy_backend" ]; then
|
if [ -n "$copy_backend" ]; then
|
||||||
eval "printf '$buf' | $copy_backend"
|
printf "$buf" | eval "$copy_backend"
|
||||||
exit;
|
exit;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user