mirror of
https://github.com/samoshkin/tmux-config.git
synced 2026-01-04 00:38:01 +00:00
Fix yank.sh. Use printf %s placeholder to avoid copied text being interpreted as printf arguments
This commit is contained in:
@@ -28,7 +28,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
|
||||||
printf "$buf" | eval "$copy_backend"
|
printf "%s" "$buf" | eval "$copy_backend"
|
||||||
exit;
|
exit;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user