aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-02-14 10:59:50 +0000
committerEgor Tensin <Egor.Tensin@gmail.com>2023-02-14 10:59:50 +0000
commit60c694bb51a875d1ea9d91732e059203dbe2eb75 (patch)
tree986f8a9c9e48954c60bc6c23ffbe087e59748c0c
parenttmux: split some config parts into multiple parts (diff)
downloadlinux-home-60c694bb51a875d1ea9d91732e059203dbe2eb75.tar.gz
linux-home-60c694bb51a875d1ea9d91732e059203dbe2eb75.zip
tmux: fix configuration on new & old machines
-rw-r--r--%HOME%/.tmux.conf6
1 files 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
# ----------