From 60c694bb51a875d1ea9d91732e059203dbe2eb75 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 14 Feb 2023 10:59:50 +0000 Subject: tmux: fix configuration on new & old machines --- %HOME%/.tmux.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/%HOME%/.tmux.conf b/%HOME%/.tmux.conf index c6d0fb6..50f0649 100644 --- a/%HOME%/.tmux.conf +++ b/%HOME%/.tmux.conf @@ -106,10 +106,10 @@ bind-key -T copy-mode-vi v send -X begin-selection # M-y is y and Y combined. # ! to copy excluding line endings (most useful for one-line selections). -if-shell 'uname | grep -q -F CYGWIN' source-file ~/.config/tmux/cygwin.conf +if-shell 'uname | grep -q -F CYGWIN' 'source-file ~/.config/tmux/cygwin.conf' if-shell 'uname | grep -q -F Linux && command -v xsel' \ - source-file ~/.config/tmux/linux.conf -if-shell 'uname | grep -q -F Darwin' source-file ~/.config/tmux/macos.conf + 'source-file ~/.config/tmux/linux.conf' +if-shell 'uname | grep -q -F Darwin' 'source-file ~/.config/tmux/macos.conf' # Appearance # ---------- -- cgit v1.2.3