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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user