]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Prevent tmux from hanging by redirecting stdout to /dev/null
authorMaximilian Friedersdorff <max@friedersdorff.com>
Tue, 16 Jul 2019 09:17:17 +0000 (10:17 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Tue, 16 Jul 2019 09:17:17 +0000 (10:17 +0100)
states/tmux/files/tmux.conf

index 82d3cce018c86f927c96507d46f041fc75843390..3b17d1a72235e1a0f9f4d5b85690b5aa9c442a23 100644 (file)
@@ -43,7 +43,7 @@ set -g allow-rename off
 #move wayland clipbord into tmux buffer
 bind C-p run "tmux set-buffer \"$(wl-paste)\""
 # move tmux copy buffer into wayland clipboard
-bind C-y run "tmux save-buffer - | wl-copy"
+bind C-y run "tmux save-buffer - | wl-copy > /dev/null"