1
0
mirror of https://github.com/samoshkin/tmux-config.git synced 2026-01-04 00:38:01 +00:00

Remove stripping new line, because it removes newline thoughout the text, not only trailing ones

This commit is contained in:
Alexey Samoshkin
2017-11-29 23:47:50 +02:00
parent 64e01e6bb4
commit 867f377bbc

View File

@@ -7,9 +7,7 @@ is_app_installed() {
} }
# get data either form stdin or from file # get data either form stdin or from file
# 'echo -n' to strip any trailing new lines, so when we paste in command prompt buf=$(cat "$@")
# it won't be executed immediately
buf=$(cat "$@" | xargs echo -n)
copy_backend_remote_tunnel_port=$(tmux show-option -gvq "@copy_backend_remote_tunnel_port") 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") copy_use_osc52_fallback=$(tmux show-option -gvq "@copy_use_osc52_fallback")