From 867f377bbc363237bfb08766a0a56f482086e1e1 Mon Sep 17 00:00:00 2001 From: Alexey Samoshkin Date: Wed, 29 Nov 2017 23:47:50 +0200 Subject: [PATCH] Remove stripping new line, because it removes newline thoughout the text, not only trailing ones --- tmux/yank.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tmux/yank.sh b/tmux/yank.sh index 21ff331..29973e6 100755 --- a/tmux/yank.sh +++ b/tmux/yank.sh @@ -7,9 +7,7 @@ is_app_installed() { } # get data either form stdin or from file -# 'echo -n' to strip any trailing new lines, so when we paste in command prompt -# it won't be executed immediately -buf=$(cat "$@" | xargs echo -n) +buf=$(cat "$@") copy_backend_remote_tunnel_port=$(tmux show-option -gvq "@copy_backend_remote_tunnel_port") copy_use_osc52_fallback=$(tmux show-option -gvq "@copy_use_osc52_fallback")