Skip to content

Commit 867f377

Browse files
committed
Remove stripping new line, because it removes newline thoughout the text, not only trailing ones
1 parent 64e01e6 commit 867f377

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tmux/yank.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ is_app_installed() {
77
}
88

99
# get data either form stdin or from file
10-
# 'echo -n' to strip any trailing new lines, so when we paste in command prompt
11-
# it won't be executed immediately
12-
buf=$(cat "$@" | xargs echo -n)
10+
buf=$(cat "$@")
1311

1412
copy_backend_remote_tunnel_port=$(tmux show-option -gvq "@copy_backend_remote_tunnel_port")
1513
copy_use_osc52_fallback=$(tmux show-option -gvq "@copy_use_osc52_fallback")

0 commit comments

Comments
 (0)